Applies To:
  • CitectSCADA 5.30

On first entering a page that uses the AlarmSetQuery() function in the Page Entry event, the query will not work. Why? 

The AlarmSetQuery function is run before the alarm functionality for the page has had time to be setup.

To avoid this problem, put a Sleep() function in front of the AlarmSetQuery() function to allow the alarm functionality time to be set up. A value of 500mS should be sufficient, though experimentation on a reliable value is recommended.

CIT has confirmed this to be a problem in Citect for Windows version 5.30. We are researching this problem and will post new information here as it becomes available.