Files
pvDatabase/exampleRPC/iocBoot/exampleRPC/st.cmd
Dave Hickin bc3335d4f9 Add example of record which supports RPC and a client
Record has x and y-coordinate fields and a timestamp and also provides
a service which sets (x,y) to a sequence of values.

An RPC client application (move) sends positions as an array.
2015-12-08 13:38:47 +00:00

24 lines
557 B
Batchfile

< envPaths
cd ${TOP}
## Register all support components
dbLoadDatabase("dbd/exampleRPC.dbd")
exampleRPC_registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("db/dbScalar.db","name=pvdouble,type=ao")
dbLoadRecords("db/dbArray.db","name=pvdoubleArray,type=DOUBLE")
dbLoadRecords("db/dbStringArray.db","name=pvstringArray")
dbLoadRecords("db/dbEnum.db","name=pvenum")
dbLoadRecords("db/dbCounter.db","name=pvcounter");
cd ${TOP}/iocBoot/${IOC}
iocInit()
dbl
epicsThreadSleep(1.0)
exampleRPCCreateRecord mydevice
startPVAServer
pvdbl