|sInfoPath||(String) Path to the item of the INFO system. |
It is for example "COMM/PmModbusMr_0" for communication.
Caution: this isn't a path in the tree of Pma objects. This is the path in the tree when viewing the INFO system!
|sInfoName||(String) The item name, which is the name of the tab in the INFO system. |
It is for example "Monitor" for "COMM/driver" item.
If "$all" is entered, then the write is executed for all tabs contained in corresponding item.
|sFile||(String) The file name with the path where data have to be written. |
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.
|sOptions||(String) Specifies how the tab content will be written. Entries are in KeyVal format, for example "add:1;empty:0;header:compact;".|
add - Specifies the behavior for existing file.
0 - to overwrite the file
1 (default) - append to the file
empty - Specifies whether an empty tab will be written.
0 (default) - do not write empty tab
1 - write also the empty tab
header - Specifies how to write the tab header.
compact (default) - write header in high density in a single row without the time
full - write the header to multiple rows including the time
Pm.InfoWriteToFile("Errors", "Global", "#app:Info.txt", "");