Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hallo Everyone,
I am looking to write a file in binary format and then read it back. Does anyone have an idea how this could be done.The SysFile library doesnt seem to have the binary option available.
Thanks and warm regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you tried the library function SysFileWrite() to write binary files? I am using this without any problems. I don't use SysFileRead() but it should work.
These functions are in SysLibFile.lib
Tony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo Everyone,
I am looking to write a file in binary format and then read it back. Does anyone have an idea how this could be done.The SysFile library doesnt seem to have the binary option available.
Thanks and warm regards
Hi,
Have you tried the library function SysFileWrite() to write binary files? I am using this without any problems. I don't use SysFileRead() but it should work.
These functions are in SysLibFile.lib
Tony