Require: IP-Symcon >= 3.0
boolean AC_GetLoggingStatus (int $InstanceID, int $VariableID)
InstanceID | ID for the archive |
VariableID | ID of the variable to be queried |
True if logging is active for the variable, otherwise False
This function queries whether the variable with the ID VariableID is logged.
// Query the variable "TestVariable"
var_dump(AC_GetLoggingStatus(39147 /*[Archive]*/, 53716 /*[TestVariable]*/));
echo AC_GetLoggingStatus(39147 /*[Archive]*/, 53716 /*[TestVariable]*/);
/* Sample output
var_dump:
bool(true)
echo:
1
*/