Applies To:
  • CitectSCADA 6.10 Service Pack A
  • CitectHMI 6.10 Service Pack A

Summary:
WinPrintFile() cicode function doesn't work in Version 6.1 SPK A or after upgrading to Version 6.1 SPK A
 

Solution:
You will get a compilation error saying "Label argument error" or "Invalid number of argument" error during compilation. Citect has confirmed this to be a problem in CitectHMI/SCADA version 6.1 SPK A. This problem has been fixed in version 6.10 SPK B.

A work around for the above issue is use an underscore before the function for example

_WinPrintFile("C:\Citect\Alarmlog.txt","SYD-FXDCC360-GREEN",0,0,0,-1,-1);

 

Keywords:
winprintfile, compile error, Argument error, Invalid argument error 
 

Attachments