Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

using alarm states in other objects

Is it possible to use and alarm level to trigger an expression, for example in a multistate object. I am trying to get the text "Transmitter Bad" to appear when an analog input goes LoLo. I am not sure of the syntax to use to access this alarm indication or even if it is possible.
0 Kudos
Message 1 of 2
(2,589 Views)
____________________________________




Hi Bosco,

If you want to trigger an Expression with just the LoLo Alarm, and not the other states of this very same alarm (Lo, HiHi, etc.), then you will have to use an Alarm Object to configure your Alarm first. This is because the $Alarm global object does not have the granularity of individual states of the Alarm, i.e., LoLo, HiHi, etc. $Alarm only has Alarm.active member.

Once you have created an Alarm object, you can then have an Expression like this:

if(Alarm1.lolo,"Transmitter Bad","Transmitter Good")

or

if(Alarm1.lolo,"Transmitter Bad"," ")


Where Alarm1 is the Alarm Object and the 'false' result may have a NULL.

Hope this helps,

Regards,

Khalid 🙂





____________________________________
0 Kudos
Message 2 of 2
(2,589 Views)