EPICS Record Reference Manual
Specified
,
High Signal
, Low Signal
, Median Signal
.
Each input can be a constant, a database link, or a channel access
link.The fields in this record fall into several categories:
scan parameters
read parameters
select parameters
operator display parameters
alarm parameters
monitor parameters
run-time parameters
Any links not defined are ignored by the selection record and its algorithm. An undefined link is any constant link whose value is 0. At initialization time, the corresponding value links for such fields are set equal to le30, which means MISSING. The value field of an undefined link can be changed at run-time from the MISSING value to another value in order to define the link and its field. Note that all undefined links must be recognized as such if the selection algorithm is to work as expected.
Field | Summary | Type | DCT | Initial | Access | Modify | Rec Proc Monitor | PP |
---|---|---|---|---|---|---|---|---|
INPA | Input A | INLINK | Yes | 0 | No | No | N/A | No |
INPB | Input B | INLINK | Yes | 0 | No | No | N/A | No |
INPC | Input C | INLINK | Yes | 0 | No | No | N/A | No |
INPD | Input D | INLINK | Yes | 0 | No | No | N/A | No |
INPE | Input E | INLINK | Yes | 0 | No | No | N/A | No |
INPF | Input F | INLINK | Yes | 0 | No | No | N/A | No |
INPG | Input G | INLINK | Yes | 0 | No | No | N/A | No |
INPH | Input H | INLINK | Yes | 0 | No | No | N/A | No |
INPI | Input I | INLINK | Yes | 0 | No | No | N/A | No |
INPJ | Input J | INLINK | Yes | 0 | No | No | N/A | No |
INPK | Input K | INLINK | Yes | 0 | No | No | N/A | No |
INPL | Input L | INLINK | Yes | 0 | No | No | N/A | No |
A | Input A Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
B | Input B Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
C | Input C Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
D | Input D Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
E | Input E Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
F | Input F Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
G | Input G Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
H | Input H Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
I | Input I Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
J | Input J Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
K | Input K Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
L | Input L Value | DOUBLE | No | 0 | Yes | Yes/No | Yes | Yes |
The SELM field has four choices, i.e., four algorithms: Specified
,
High Signal
, Low Signal
, and Median
Signal
. The selection record's VAL field is determined
differently for each algorithm. For Specified
, the VAL
field is set equal to the value field (A, B, C, D, E, F, G, H, I, J, K,
or L) specified by the SELN field. The SELN field contains a number from
0-11 which corresponds to the value field to be used (0 means use A; 1
means use B, etc.). How the NVL field is configured determines, in turn,
SELN's value. NVL is an input link from which a value for SELN can be
retrieved, Like most other input links NVL can be a constant, or a
channel access or database link. If NVL is a link, SELN is retrieved
from the location in NVL. If a constant, SELN is initialized to the
value given to the constant and can be changed via dbPuts. See Address
Specification, Chapter 1, 2, for information on how to specify
database links.
The High Signal
, Low Signal
, and Median
Signal
algorithms do not use SELN or NVL. If High Signal
is chosen, VAL is set equal to the highest value out of all the defined
value fields (A-F). If Low Signal
is chosen, VAL is set
equal to lowest value of all the defined fields (A-F). And if Median
Signal
is chosen, VAL is set equal to the median value of the
defined value fields (A-F). (Note that these algorithms select from the
value fields; they do not select from the value field index. For
instance, Low Signal
will not select the A field's value
unless the value itself is the lowest of all the defined values.)
Field | Summary | Type | DCT | Initial | Access | Modify | Rec Proc Monitor | PP |
---|---|---|---|---|---|---|---|---|
SELM | Select Mechanism | RECCHOICE | Yes | 0 | Yes | Yes | No | No |
SELN | Select Number | USHORT | No | 0 | Yes | Yes | No | No |
NVL | Index Value Location, an input link | INLINK | Yes | 0 | No | No | N/A | No |
EGU is a string of up to 16 characters describing the units that the
selection record manipulates. It is retrieved by the get_units
record support routine.
The HOPR and LOPR fields set the upper and lower display limits for the
VAL, HIHI, HIGH, LOW, and LOLO fields. Both the get_graphic_double
and get_control_double
record support routines retrieve
these fields.
The PREC field determines the floating point precision with which to
display VAL. It is used whenever the get_precision
record
support routine is called.
See Chapter 2, Fields Common to All Record Types, for more on the record name (NAME) and description (DESC) fields.
Field | Summary | Type | DCT | Initial | Access | Modify | Rec Proc Monitor | PP |
---|---|---|---|---|---|---|---|---|
EGU | Engineering Units | STRING [16] | Yes | null | Yes | Yes | No | No |
HOPR | High Operating Range | FLOAT | Yes | 0 | Yes | Yes | No | No |
LOPR | Low Operating Range | FLOAT | Yes | 0 | Yes | Yes | No | No |
PREC | Display Precision | SHORT | Yes | 0 | Yes | Yes | No | No |
NAME | Record Name | STRING [29] | Yes | 0 | Yes | No | No | |
DESC | Description | STRING [29] | Yes | Null | Yes | Yes | No | No |
Field | Summary | Type | DCT | Initial | Access | Modify | Rec Proc Monitor | PP |
---|---|---|---|---|---|---|---|---|
HIHI | Hihi Alarm Limit | FLOAT | Yes | 0 | Yes | Yes | No | Yes |
HIGH | High Alarm Limit | FLOAT | Yes | 0 | Yes | Yes | No | Yes |
LOW | Low Alarm Limit | FLOAT | Yes | 0 | Yes | Yes | No | Yes |
LOLO | Lolo Alarm Limit | FLOAT | Yes | 0 | Yes | Yes | No | Yes |
HHSV | Hihi Alarm Severity | GBLCHOICE | Yes | 0 | Yes | Yes | No | Yes |
HSV | High Alarm Severity | GBLCHOICE | Yes | 0 | Yes | Yes | No | Yes |
LSV | Low Alarm Severity | GBLCHOICE | Yes | 0 | Yes | Yes | No | Yes |
LLSV | Lolo Alarm Severity | GBLCHOICE | Yes | 0 | Yes | Yes | No | Yes |
HYST | Alarm Deadband | DOUBLE | Yes | 0 | Yes | Yes | No | No |
Field | Summary | Type | DCT | Initial | Access | Modify | Rec Proc Monitor | PP |
---|---|---|---|---|---|---|---|---|
ADEL | Archive Deadband | DOUBLE | Yes | 0 | Yes | Yes | No | No |
MDEL | Monitor, i.e. value change, Deadband | DOUBLE | Yes | 0 | Yes | Yes | No | No |
The VAL field is the result of the selection record's processing. It can be accessed in the normal way by another record or through database access, but is not modifiable except by the record itself. The LALM, ALST, and the MLST are used to implement the HYST, ADEL, and MDEL hysteresis factors for the alarms, archiver, and monitors, respectively.
The LA-LL fields are used to implement the monitors for each of the value fields, A-F. They represent previous input values. For example, unless LA is not equal to A, no monitor is invoked for A.
Field | Summary | Type | DCT | Initial | Access | Modify | Rec Proc Monitor | PP |
---|---|---|---|---|---|---|---|---|
VAL | Value Field | DOUBLE | No | 0 | Yes | No | Yes | No |
LALM | Last Alarmed Value | DOUBLE | No | 0 | Yes | No | No | No |
ALST | Archive Last Value | DOUBLE | No | 0 | Yes | No | No | No |
MLST | Monitor Last Value | DOUBLE | No | 0 | Yes | No | No | No |
LA | Last A Value | DOUBLE | No | 0 | Yes | No | No | No |
LB | Last B Value | DOUBLE | No | 0 | Yes | No | No | No |
LC | Last C Value | DOUBLE | No | 0 | Yes | No | No | No |
LD | Last D Value | DOUBLE | No | 0 | Yes | No | No | No |
LE | Last E Value | DOUBLE | No | 0 | Yes | No | No | No |
LF | Last F Value | DOUBLE | No | 0 | Yes | No | No | No |
LG | Last G Value | DOUBLE | No | 0 | Yes | No | No | No |
LH | Last H Value | DOUBLE | No | 0 | Yes | No | No | No |
LI | Last I Value | DOUBLE | No | 0 | Yes | No | No | No |
LJ | Last J Value | DOUBLE | No | 0 | Yes | No | No | No |
LK | Last K Value | DOUBLE | No | 0 | Yes | No | No | No |
LL | Last L Value | DOUBLE | No | 0 | Yes | No | No | No |
For each constant input link, the corresponding value field is initialized with the constant value (or 1e30 if the constant has the value 0).
For each input link that is of type PV_LINK, a channel access link is created.
upper_alarm_limit = HIHI
upper_warning_limit = HIGH
lower_warning_limit = LOW
lower_alarm_limit = LOLO
Generated with Harlequin WebMaker