Hi all,
I wan to division the input string to several records. I checked the subject of tech-talk about redirection.
Then I modified my file as much as the same with the example in tech-talk. But still failed.
So could someone give me some advice.
Typed: dbpf 1:getTEM 1
Get:
2018/02/26 21:56:54.551519 _main_ 1:getTEM: Record not initialised correctly
dbpf: Value conversion from STRING to DOUBLE failed
MaxInput = 17;
out "\xFE\x04\x00\x00\x00\x06\x64\x07";
in 0xfe 0x04 0x0c "%(\$1:getTEM.VAL).2r%(\$2:getTEM.VAL).2r%(\$3:getTEM.VAL).2r%(\$4:getTEM.VAL).2r%(\$5:getTEM.VAL).2r%(\$6:getTEM.VAL).2r%*02r";
# all message read back was hex. It works well except a little qustion, if I just get one value(I mean %2r%*2r...). The little questiont: first inquiry could not get value, then all good.
extrainput = ignore;
}
And the IOC output was:
############################################################################
## EPICS R3.14.12.7
## EPICS Base built Feb 7 2018
############################################################################
2018/02/26 21:56:38.240082 _main_ devtemperature.proto line 9: Missing value for parameter $2
2018/02/26 21:56:38.240147 _main_ devtemperature.proto line 9: in command 'in'
2018/02/26 21:56:38.240166 _main_ devtemperature.proto line 5: in protocol 'gettem'
2018/02/26 21:56:38.240197 _main_ while compiling protocol 'getTEM(1)' for '1:getTEM'
2018/02/26 21:56:38.240216 _main_ 1:getTEM: Protocol parse error
2018/02/26 21:56:38.240231 _main_ 1:getTEM: Record initialization failed
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=lyxHost"