Dear all,
I am just trying StreamDevice2.3 to control our
equipment ADAM4117. But I met some problems, the ioc will
crash quickly after starting:
[fel@localhost iocAPP]$ ../../bin/linux-x86/APP st.cmd
#!../../bin/linux-x86/APP
## You may have to change APP to something else
## everywhere it appears in this file
#< envPaths
epicsEnvSet(STREAM_PROTOCOL_PATH,"../../db")
## Register all support components
dbLoadDatabase("../../dbd/APP.dbd",0,0)
APP_registerRecordDeviceDriver(pdbbase)
drvAsynIPPortConfigure("G7","192.168.127.253:5008",0,0,0)
## Load record instances
##dbLoadRecords("../../db/PSM.db","user=fel")
##dbLoadRecords("../../db/pump-2.db","user=fel")
dbLoadRecords("../../db/pump-4.db","user=fel")
iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.9- $R3-14-9-pre1$ $2006/11/20 21:09:36$
## EPICS Base built Mar 21 2013
############################################################################
2014/06/03 16:38:24.770 'ADAM4117.proto' line 6: Field
width 1090600 out of range
2014/06/03 16:38:24.770 'ADAM4117.proto' line 6: in format
string: "%0001090600"
2014/06/03 16:38:24.770 'ADAM4117.proto' line 6: in command
'out'
2014/06/03 16:38:24.770 'ADAM4117.proto' line 6: in protocol
'setting'
2014/06/03 16:38:24.770 while compiling protocol 'setting'
for 'ADAM4117:set'
2014/06/03 16:38:24.770 ADAM4117:set: Protocol parse error
2014/06/03 16:38:24.770 ADAM4117:set: Record initialization
failed
Bad init_rec return value PV: ADAM4117:set ao: init_record
iocInit: All initialization complete
## Start any sequence programs
#seq sncAPP,"user=fel"
epics>
ADAM4117.proto
#This is ADAM4117 protocol file
Terminator=cr ;
setting{
out "%0001090600";
}
getting {
out "#010";
in "%c";
}
Can anybody give me some hints? thanks a lot for your help.