b = Pm.InfoWriteToFile(sInfoPath, sInfoName, sFile, bAdd)
|sInfoPath||(String) Path to the INFO item. It is for example "COMM/PmModbusMr_0" for communication. |
Caution: this isn't a path in the PROMOTIC objects tree. This is the path in the tree when viewing the INFO system!
|sInfoName||(String) Name of the INFO item, which is the name of the page in the INFO system. It is for example "Monitor" for "COMM/driver" item. |
If "$all" is entered, then the write is executed for all pages contained in corresponding INFO 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.
|bAdd||(Boolean) true means add to the file, false means to overwrite the file.|
Pm.InfoWriteToFile "Errors", "Global", "#app:Info.txt", true