make compatible with pvDataCPP-md; channelArray implemented; can be part of v3IOC.
This commit is contained in:
5
iocBoot/exampleServer/Makefile
Normal file
5
iocBoot/exampleServer/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
TOP = ../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
ARCH = $(EPICS_HOST_ARCH)
|
||||
TARGETS = envPaths
|
||||
include $(TOP)/configure/RULES.ioc
|
||||
20
iocBoot/exampleServer/st.cmd
Normal file
20
iocBoot/exampleServer/st.cmd
Normal file
@@ -0,0 +1,20 @@
|
||||
< envPaths
|
||||
|
||||
cd ${TOP}
|
||||
|
||||
## Register all support components
|
||||
dbLoadDatabase("dbd/exampleServer.dbd")
|
||||
exampleServer_registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
## Load record instances
|
||||
dbLoadRecords("db/dbScalar.db","name=double01,type=ao")
|
||||
dbLoadRecords("db/dbStringArray.db","name=stringArray01")
|
||||
dbLoadRecords("db/dbEnum.db","name=enum01")
|
||||
dbLoadRecords("db/dbCounter.db","name=counter01");
|
||||
|
||||
cd ${TOP}/iocBoot/${IOC}
|
||||
iocInit()
|
||||
epicsThreadSleep(2.0)
|
||||
casr
|
||||
exampleServerCreateRecords
|
||||
startPVAServer
|
||||
Reference in New Issue
Block a user