Hello,
I currently have a problem with Streamdev version 2.6 and asyn 2.26 using base
3.14.12.4 on an arm linux.
I have a protocol that needs two parameters:
monIMdec {
out "$BD:\$1,CMD:MON,CH:\$2,PAR:IMDEC";
in "#BD:%*i,CMD:OK,VAL:%i";
}
The corresponding database file contains the following record using this
protocol:
record (ai, "xxx:monIMdec")
{
field (DESC, "readback of current resolution")
field (DTYP, "stream")
field (INP, "@CaenHVNimUsb.proto monIMdec($(ps), $(channel))
$(interface)")
field (PREC, "2")
}
Running the IOC I get the following error message during the initializaion
phase:
_main_ Businterface '0)' not found for 'xxx:monIMdec'
_main_ xxx:monIMdec: Can't attach to bus 0) -1
_main_ xxx:monIMdec: Record initialization failed
If I do a "dbpr xxx:monIMdec", the value in the record is undefined.
If I do a "dbtr xxx:monIMdec" and then a "dbpr xxx:monIMdec" the expected
value is set. and no further messages are printed.
It looks to me that during initialization the parser of StreamDev does not
handle more than one protocol parameter.
What can I do to get rid of this error messages?
With kind regards,
Jörn Wüstenfeld