spainasebo.blogg.se

Citect tag count
Citect tag count







citect tag count
  1. Citect tag count update#
  2. Citect tag count plus#

counts all unacknowledged tag alarms of equipA without it's children equipment counts all unacknowledged alarms with category 10 – blocking cicode counts all unacknowledged alarms with category 10 – non-blocking cicode repeat this non-blocking function as shown above (see while loop) counts all disabled alarms, default non-blocking cicode

citect tag count

WHILE (iRet = 0) AND (iErr = 0) AND (iCountWhile < 10) DO repeat the above non-blocking function counts all unacknowledged alarms, ON and OFF, default non-blocking cicode Returns counted alarms for the selected filter criteria. The period set for an existing count will be overridden in the event a longer duration is set using 'KeepAliveSeconds".Ī count that is added to the cache is not immediately available for reading, so a foreground call to AlarmCount that causes a new count to be added will return a value of -1 and an error of 345 (Data not ready). Cicode is non-blockingĪ count in memory will be accessed when its filter criteria matches a subsequent filter criteria and the count’s "KeepAliveSeconds" period will be extended.Ī count will stay in the cache for 'at least' the duration specified by "KeepAliveSeconds", and may stay in the cache for an unspecified period of time before being discarded. If the property has not yet been cached, an error is set.Ġ - Do not force cached read. Optional flag that causes the current cached value to be supplied even when the value is being refreshed. Optional length of time (in seconds) that the count will remain in memory. See the topic Implementing Alarm Filters Using Cicode in the main Citect SCADA help for more information about filter syntax.

Citect tag count plus#

LONG AlarmCount( INT Type ]])Ġ - All active alarms, that is Types 1 and 2ġ - All unacknowledged alarms, ON and OFFĤ - All configured (non-hardware) alarms, that is Types 0 to 3, plus acknowledged OFF alarms.ĥ - All active alarms, that is Types 6 and 7Ħ - All unacknowledged alarms, ON and OFFĩ - All configured alarms, that is Types 5 to 8ġ5 – Sequence of events with configuration events filtered out This function is a blocking function if CachedMode is set to zero (0).

Citect tag count update#

For example on a system with 50,000 configured alarms and 10 clients displaying a page with 100 alarm counts, the alarm count update rate will be degraded. The number of configured alarms will also contribute to the alarm count update rate. Consider the number of counts being used on pages, combined with the number of clients using those pages at any one time. Cicode Programming Reference > Cicode Function Categories > Alarm Functions > AlarmCountĬounts the available alarms for the selected filter criteria.Īlarm counts will display and update at different rates depending on how extensively they are used in your system.









Citect tag count