Applies To:
  • CitectSCADA 5.00, 5.01, 5.10

When calling Cicode via CTAPI using the ctCicode() function, you may get the result of "Task Still running" instead of the result of the function. 

This will occur if the Cicode function you are calling gets pre-empted. This will happen if the function takes a long time to execute, calls a blocking function, or a higher priority event occurs while executing the function. You may work around this problem by saving the result of the first function into a global variable and calling a second function to return the variable.

CIT has confirmed this to be a problem in Citect for Windows versions 5.00 to 5.10. This problem has been fixed in version 5.20.