EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
caeventmask.h
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * SPDX-License-Identifier: EPICS
7 * EPICS Base is distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 
11 #ifndef INCLcaeventmaskh
12 #define INCLcaeventmaskh
13 
14 /*
15  event selections
16  (If any more than 8 of these are needed then update the
17  select field in the event_block struct in db_event.c from
18  unsigned char to unsigned short)
19 
20 
21  DBE_VALUE
22  Trigger an event when a significant change in the channel's value
23  occurs. Relies on the monitor deadband field under DCT.
24 
25  DBE_ARCHIVE (DBE_LOG)
26  Trigger an event when an archive significant change in the channel's
27  value occurs. Relies on the archiver monitor deadband field under DCT.
28 
29  DBE_ALARM
30  Trigger an event when the alarm state changes
31 
32  DBE_PROPERTY
33  Trigger an event when a property change (control limit, graphical
34  limit, status string, enum string ...) occurs.
35 
36 */
37 
38 #define DBE_VALUE (1<<0)
39 #define DBE_ARCHIVE (1<<1)
40 #define DBE_LOG DBE_ARCHIVE
41 #define DBE_ALARM (1<<2)
42 #define DBE_PROPERTY (1<<3)
43 
44 #endif