Applies To:
  • CitectSCADA 5.10, 5.20

A GPF may occur when executing ctFindFirst() queries with the Alarm query syntax. A similar problem may occur when calling recursive Cicode Post functions via ctFindFirst(). 

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

A workaround to this problem is to put the SleepMS(1) statement at the beginning of all affected Cicode functions, for example, CTAPIAlarm() in the include\ file.