Applies To:
  • CitectSCADA 5.41, 5.42
  • CitectHMI 5.41, 5.42

When calling the DevOpen command to open a CSV log file created by an ASCII device, the value returned is -1 and the 'Cannot open file' (error code 262) hardware alarm is generated. Also, if an operator opens a log file while the process is active and my Cicode tries to write to the file calling the DevSetField command, then the 'Cannot write to file' (error code 264) hardware alarm is generated. This is to be expected, but this error continues to be generated when trying to write to the file from that point on, even after the file has been closed again. It appears that some of the Cicode Device commands do not function properly. 

A similar issue was reported with regard to Database devices (which output to DBF files). This was fixed in Citect v5.21 Service Pack A and v5.30r0. However, this fix appears to only affect Database devices, not ASCII. Citect has confirmed this to be a problem in CitectHMI/SCADA versions 5.41r0 to 5.42r0. We are researching this problem and will post new information here as it becomes available.