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

Is library SysFile buffered?

chab
2013-11-16
2013-11-19
  • chab - 2013-11-16

    All,

    I'm trying to write to a file, with SysFile.
    In the target folder, I do NOT see the file. Until I close this file.

    Does a way exist to write to a file 'in realtime / runtime'?

    I did not find any 'synch' or 'flush' function in the library.

    Any ideas...

    Regards,
    Edwin.

     
  • chab - 2013-11-19

    A flush function would resolve the issue.

    The SysFileFlush function is not part of the library (V3.5.2.0), although the document β€œCODESYS Control V3 Reference (Document Version 3.5.3.40)” mentions it.
    The CAA File library has a Flush function.

    I’ll use the CAA File library.

    Regards,
    Edwin.

     

Log in to post a comment.