ezeio2:scriptref:getalarmstate

Return the current state of the alarm

Description

GetAlarmState( alarmno )

Fetch the state of a given alarm.

Parameters

alarmno The alarm number

Return value

Returns the current state of the alarm. 1=alarm is active. 0=alarm is not active.

Example usage

   if(GetAlarmState(10)) {
     // logic to run if alarm is active
   }
  • ezeio2/scriptref/getalarmstate.txt
  • Last modified: 2019-09-02 21:38
  • by andreh