Documentation
AC_GetLoggingStatus
Require: IP-Symcon >= 3.0
boolean AC_GetLoggingStatus (int $InstanceID, int $VariableID)
Parameters
InstanceID | ID for the archive |
VariableID | ID of the variable to be queried |
Returns
True if logging is active for the variable, otherwise False
Description
This function queries whether the variable with the ID VariableID is logged.
Example
// 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
*/