Applies To:
  • CitectSCADA 5.xx
  • CitectHMI 5.xx

Summary:
Filexxxxx (FileCopy, FileDelete, etc.) functions when used over slow networks are hanging my Citect system. This effects Alarm and Trend acquisition. How do I resolve this?
 

Solution:
There is a known issue when using the Filexxxx commands over a high latency network, as it will block the main Citect thread, causing it to stop processing all Alarms, I/O, Trends, reports, and page animation. There is a work around to use the Exec function and call the DOS equivalent of the function you are trying to achieve. For example, for file delete you could write the following cicode:

FUNCTION
MyFileDelete(
STRING sFile)

STRING sCommand;
sCommand = st_Enquote(sFile);
sCommand =
"Cmd /c Del " + sCommand;
Exec
(sCommand,6);

END


Citect has confirmed this to be a problem in CitectHMI/SCADA version 5.XX to 6.XX. We are researching this problem and will post new information here as it becomes available.

Also see KB Q3972 which describes the same problem affecting FileExist. The FileExist function was fixed in CitectSCADA 5.50.

 

Keywords:
FileDelete, FileCopy, slow network, hang, block  

Attachments