Applies To:
  • CitectSCADA 3.00

Mode 4 of the cicode function TaskNew() should cause all data associated with the task to be read before the task is started. Sometimes this mode does not work correctly and the data associated with the task is not read from the I/O Devices.

CIT has confirmed this to be a problem in Citect for Windows versions 1.11 to 2.10. This problem has been fixed in version 3.00 and later.


Mode 4 in TaskNew() works correctly in version 3.00 and later. You may work around this problem by calling the ReRead() function as the first line of the function you where going to call in TaskNew(). The ReRead() will have the same effect as the mode 4. In version 3.00 and later you should remove these unnecessary ReRead() as they will slow the performance of your cicode.