|
|
Detector Controls Status and Severity Flags
These are the values of the severity and status flags as reported in the
EPICS header file alarm.h . They severity defines the color of the ambient
data points reported by BrowserApp as follows:
Severity
________
#define NO_ALARM 0x0 (no alarm - black)
#define MINOR_ALARM 0x1 (warning - yellow)
#define MAJOR_ALARM 0x2 (alarm - red)
#define INVALID_ALARM 0x3 (invalid data - white)
Status
______
EPICS usage: for ALARM severities > NO_ALARM, the status will elucidate the
condition that caused the alarm.
/* NO_ALARM = 0 as above */
#define READ_ALARM 1
#define WRITE_ALARM 2
/* ANALOG ALARMS */
#define HIHI_ALARM 3
#define HIGH_ALARM 4
#define LOLO_ALARM 5
#define LOW_ALARM 6
/* BINARY ALARMS */
#define STATE_ALARM 7
#define COS_ALARM 8
/* other alarms */
#define COMM_ALARM 9
#define TIMEOUT_ALARM 10
#define HW_LIMIT_ALARM 11
#define CALC_ALARM 12
#define SCAN_ALARM 13
#define LINK_ALARM 14
#define SOFT_ALARM 15
#define BAD_SUB_ALARM 16
#define UDF_ALARM 17
#define DISABLE_ALARM 18
#define SIMM_ALARM 19
#define READ_ACCESS_ALARM 20
#define WRITE_ACCESS_ALARM 21
#define CDEV_ALARM 22
Note: The severity and status flags are combined and stored in the database
as "100*severity + status".
George Zioulas
Last modified: Thu Feb 24 11:30:00 PST 2000
|
|