Depending on the format type, different record fields are used
for output and input. The variable x
stands for the
written or read value.
%f
):%i
):x=RVAL
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
).
%{
):x=VAL
VAL=(x!=0)
%s
):VAL
, ZNAM
or
ONAM
is written, i.e. x=VAL?ONAM:ZNAM
.ZNAM
or ONAM
,
VAL
is set accordingly. Other input strings are not accepted.
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.
aai aao ai ao bi mbbi mbbo mbbiDirect mbboDirect longin longout stringin stringout waveform calcout scalcout
Dirk Zimoch, 2005