Specify when file allocation table entry is updated
Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.
Enter the value returned by the function xPCOpenTcpIpPort.
Enter the scope number.
Enter an integer for the write mode:
Enables lazy write mode
Enables commit write mode
xPCFSScSetWriteMode function specifies
when a file allocation table (FAT) entry is updated. Both modes write
the signal data to the file, as follows:
Lazy mode. The FAT entry is updated only when the file is closed and not during each file write operation. This mode is faster than commit mode. However, if the system crashes before the file is closed, the file system does not have the actual file size. (The file contents, however, are intact.)
Commit mode. Each file write operation simultaneously updates the FAT entry for the file. This mode is slower than lazy mode, but the file system maintains the actual file size.