StreamDevice: mbboDirect 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):
If MASK==0 (because NOBT is not set):
Output: x=VAL
Input: VAL=x
If MASK!=0:
Output: x=RVAL&MASK
Input: RBV=x&MASK
MASK is initialized to NOBT 1-bits shifted left by SHFT.
ENUM format (e.g. %{):
Not allowed.
STRING format (e.g. %s):
Not allowed.

Initialization

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


aai aao ai ao bi bo mbbi mbbo mbbiDirect longin longout stringin stringout waveform calcout scalcout

Dirk Zimoch, 2005