#include "libComAPI.h"
Go to the source code of this file.
|
| enum | epicsAlarmSeverity {
epicsSevNone = NO_ALARM,
epicsSevMinor,
epicsSevMajor,
epicsSevInvalid,
ALARM_NSEV
} |
| | Alarm severity values. More...
|
| |
| enum | epicsAlarmCondition {
epicsAlarmNone = NO_ALARM,
epicsAlarmRead,
epicsAlarmWrite,
epicsAlarmHiHi,
epicsAlarmHigh,
epicsAlarmLoLo,
epicsAlarmLow,
epicsAlarmState,
epicsAlarmCos,
epicsAlarmComm,
epicsAlarmTimeout,
epicsAlarmHwLimit,
epicsAlarmCalc,
epicsAlarmScan,
epicsAlarmLink,
epicsAlarmSoft,
epicsAlarmBadSub,
epicsAlarmUDF,
epicsAlarmDisable,
epicsAlarmSimm,
epicsAlarmReadAccess,
epicsAlarmWriteAccess,
ALARM_NSTATUS
} |
| | Alarm status/condition values. More...
|
| |
The NO_ALARM value can be used as both a severity and a status.
Definition at line 32 of file alarm.h.
Alarm status/condition values.
- Note
- These must match the choices in menuAlarmStat.dbd
| Enumerator |
|---|
| epicsAlarmNone |
No alarm
|
| epicsAlarmRead |
Read alarm (read error)
|
| epicsAlarmWrite |
Write alarm (write error)
|
| epicsAlarmHiHi |
High high limit alarm
|
| epicsAlarmHigh |
High limit alarm
|
| epicsAlarmLoLo |
Low low limit alarm
|
| epicsAlarmLow |
Low limit alarm
|
| epicsAlarmState |
State alarm (e.g. off/on)
|
| epicsAlarmCos |
Change of state alarm
|
| epicsAlarmComm |
Communication alarm
|
| epicsAlarmTimeout |
Timeout alarm
|
| epicsAlarmHwLimit |
Hardware limit alarm
|
| epicsAlarmCalc |
Calculation expression error
|
| epicsAlarmScan |
Scan alarm, e.g. record not processed (10 times) or not in desired scan list
|
| epicsAlarmLink |
Link alarm
|
| epicsAlarmSoft |
Soft alarm, e.g. in sub record if subroutine gives error
|
| epicsAlarmBadSub |
Bad subroutine alarm, e.g. in sub record subroutine not defined
|
| epicsAlarmUDF |
Undefined value alarm, e.g. record never processed
|
| epicsAlarmDisable |
Record disabled using DISV/DISA fields
|
| epicsAlarmSimm |
Record is in simulation mode
|
| epicsAlarmReadAccess |
Read access permission problem
|
| epicsAlarmWriteAccess |
Write access permission problem
|
| ALARM_NSTATUS |
Number of alarm conditions
|
Definition at line 61 of file alarm.h.
epicsAlarmCondition
Alarm status/condition values.
#define NO_ALARM
The NO_ALARM value can be used as both a severity and a status.
Alarm severity values.
- Note
- These must match the choices in menuAlarmSevr.dbd
| Enumerator |
|---|
| epicsSevNone |
No alarm
|
| epicsSevMinor |
Minor alarm severity
|
| epicsSevMajor |
Major alarm severity
|
| epicsSevInvalid |
Invalid alarm severity
|
| ALARM_NSEV |
Number of alarm severities
|
Definition at line 38 of file alarm.h.
#define NO_ALARM
The NO_ALARM value can be used as both a severity and a status.
epicsAlarmSeverity
Alarm severity values.
How to convert an alarm condition/status into a string.
Definition at line 26 of file alarmString.c.
| LIBCOM_API const char* epicsAlarmSeverityStrings[ALARM_NSEV] |
How to convert an alarm severity into a string.
Definition at line 16 of file alarmString.c.