bo Records

Normal Operation

Depending on the format type, different record fields are used for output and input. The variable x stands for the written or read value.

DOUBLE format (e.g. %f):
Not allowed.
LONG format (e.g. %i):
Output: x=RVAL
Input: RBV=x&MASK
MASK can be set be set in the record definition. Stream Device does not set it. If MASK==0, it is ignored (i.e. RBV=x).
ENUM format (e.g. %{):
Output: x=VAL
Input: VAL=(x!=0)
STRING format (e.g. %s):
Output: Depending on VAL, ZNAM or ONAM is written, i.e. x=VAL?ONAM:ZNAM.
Input: If input is equal to ZNAM or ONAM, VAL is set accordingly. Other input strings are not accepted.

Initialization

During initialization, the @init handler is executed, if present. In contrast to normal operation, LONG input is put to RVAL as well as to RBV and converted by the record.