From 5cda7d11a3d6309b7d9d28226d491be4a74f2109 Mon Sep 17 00:00:00 2001 From: sergirubio Date: Thu, 20 Jul 2017 09:50:08 +0200 Subject: [PATCH 1/3] Update AlarmStates.rst --- doc/recipes/AlarmStates.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/recipes/AlarmStates.rst b/doc/recipes/AlarmStates.rst index 196a8607..678a243c 100644 --- a/doc/recipes/AlarmStates.rst +++ b/doc/recipes/AlarmStates.rst @@ -41,3 +41,16 @@ OOSRV is permanent (device disabled). All of them are controlled by the Enable/Disable states/commands of PyAlarm. In addition, PANIC adds ERROR State to raise problems with Tango devices. + +Disabled States in PANIC +------------------------ + +Alarm States and Severities are defined in panic.properties module. + +Their meanings are: + +* OOSRV = Device server is Off, no process running +* DSUPR = Enabled property is False +* SHLVD = Alarm is listed in DisabledAlarms attribute (temporary disabled) +* ERROR = Device is alive but the alarm is not being evaluated (thread dead or exception). + From 9f6b477956be527d857833b9103c6ba3abdff7a2 Mon Sep 17 00:00:00 2001 From: sergirubio Date: Thu, 20 Jul 2017 09:54:34 +0200 Subject: [PATCH 2/3] Update AlarmStates.rst --- doc/recipes/AlarmStates.rst | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/doc/recipes/AlarmStates.rst b/doc/recipes/AlarmStates.rst index 678a243c..46b8d0dc 100644 --- a/doc/recipes/AlarmStates.rst +++ b/doc/recipes/AlarmStates.rst @@ -6,13 +6,28 @@ AlarmStates State transitions ----------------- -events will be received from the device or from the poll->read->read_hw chain +Alarm States and Severities are defined in panic.properties module. + +With PyAlarm > 6.1; GUI will read the current Alarm state from the AlarmList attribute. + -* ActiveAlarms doesn't cotain tag, alarm.active will be 0, state = NORM +For compatibility with older versions, the events of ActiveAlarms will be used instead: + +* If ActiveAlarms doesn't cotain tag, alarm.active will be 0, state = NORM * Activealarms contains tag, alarm.active = activealarms timestamp, state = ACTIVE * ActiveAlarms is None or Exception, alarm.active will be set to -1. state = ERROR +Disabled States +--------------- + +Their meanings are: + +* OOSRV = Device server is Off, no process running +* DSUPR = Enabled property is False +* SHLVD = Alarm is listed in DisabledAlarms attribute (temporary disabled) +* ERROR = Device is alive but the alarm is not being evaluated (thread dead or exception). + IEC 62682: AlarmStates Definition and related Actions ------------------------------------------------------ @@ -42,15 +57,5 @@ All of them are controlled by the Enable/Disable states/commands of PyAlarm. In addition, PANIC adds ERROR State to raise problems with Tango devices. -Disabled States in PANIC ------------------------- - -Alarm States and Severities are defined in panic.properties module. - -Their meanings are: -* OOSRV = Device server is Off, no process running -* DSUPR = Enabled property is False -* SHLVD = Alarm is listed in DisabledAlarms attribute (temporary disabled) -* ERROR = Device is alive but the alarm is not being evaluated (thread dead or exception). From e4742d99f263c784f4a45634adfb00adb2298d75 Mon Sep 17 00:00:00 2001 From: sergirubio Date: Tue, 29 Aug 2017 16:05:30 +0200 Subject: [PATCH 3/3] Update AlarmStates.rst --- doc/recipes/AlarmStates.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/recipes/AlarmStates.rst b/doc/recipes/AlarmStates.rst index 46b8d0dc..7b0a668a 100644 --- a/doc/recipes/AlarmStates.rst +++ b/doc/recipes/AlarmStates.rst @@ -23,10 +23,10 @@ Disabled States Their meanings are: -* OOSRV = Device server is Off, no process running +* OOSRV = Device server is Off (not exported), no process running * DSUPR = Enabled property is False * SHLVD = Alarm is listed in DisabledAlarms attribute (temporary disabled) -* ERROR = Device is alive but the alarm is not being evaluated (thread dead or exception). +* ERROR = Device is alive but the alarm is not being evaluated (exported=1 and thread dead or exception). IEC 62682: AlarmStates Definition and related Actions ------------------------------------------------------