Documentation
AC_GetCounterIgnoreZeros
Require: IP-Symcon >= 5.5
boolean AC_GetCounterIgnoreZeros (int $InstanceID, int $VariableID)
Parameters
InstanceID | ID for the archive |
VariableID | ID of the variable to be queried |
Returns
True if ignoring zeros and negative values is active for the variable, otherwise False
Description
This function queries whether the variable with the ID VariableID in the Archive Control with the ID InstanceID ignores zeros and negative values.
The function only works with variables that are logged as counters. If the ignoring of zeros and negative values is active, they will still be logged, but will not be included in the aggregation.
Example
// Query the variable "54321" from the ArchivControl "12345"
AC_GetCounterIgnoreZeros(12345, 54321);