Hello Everyone,
I could configure an alarm on the State attribute of TANGO device a/b/c in the Elettra Alarm Handler. Following string is provided as an input to Load command of elettra alarm device to configure alarm alertCspState:
"tag=[b]alertCspState[/b];formula=(a/b/c/State == ON);on_delay=0;off_delay=0;priority=fault;shlvd_time=2;group=gr_all;message=Device cannot be in On state;on_command=a/b/c/Off;enabled=1"
I am able to see proper values of the alarm attribute alertCspState created in the Elettra alarm device.
However, when I am trying to configure an alarm on the DevEnum type of attribute using following string,
"tag=[b]alertCnHealthState[/b];formula=(a/b/c/test_enum == 1);on_delay=0;off_delay=0;priority=fault;shlvd_time=2;group=gr_all;message=test_enum is UNKNOWN.;enabled=1"
alarm attribute alertCnHealthState in elettra alarm device, is INVALID and it shows “No Value”. In the alarm formula I tried using enum label or integer value for DevEnum attribute however it seems that the alarm is not getting configured.
Any inputs on this will be helpful.
Thanks,
Apurva