35 lines
923 B
Batchfile
Executable File
35 lines
923 B
Batchfile
Executable File
#!../../bin/linux-x86-debug/sinqEPICS
|
|
# for debugging..................
|
|
## You may have to change sinqEPICS to something else
|
|
## everywhere it appears in this file
|
|
|
|
< envPaths
|
|
|
|
cd ${TOP}
|
|
|
|
## Register all support components
|
|
dbLoadDatabase "$(TOP)/dbd/sinqEPICS.dbd"
|
|
dbLoadDatabase "$(TOP)/sinqEPICSApp/src/sinq.dbd"
|
|
sinqEPICS_registerRecordDeviceDriver pdbbase
|
|
|
|
## Load record instances
|
|
#dbLoadRecords("db/xxx.db","user=koenneckeHost")
|
|
|
|
|
|
#---------- Install SLSVME
|
|
drvAsynIPPortConfigure("el755", "narziss-ts:3004",0,0,0)
|
|
#drvAsynIPPortConfigure("slsvme", "localhost:8080",0,0,0)
|
|
|
|
dbLoadRecords("$(ASYN)/db/asynRecord.db","P=SQ:NZ:,R=el755,PORT=el755,ADDR=0,OMAX=80,IMAX=80")
|
|
|
|
epicsEnvSet ("STREAM_PROTOCOL_PATH", "$(TOP)/sinqEPICSApp/Db:.")
|
|
|
|
cd ${TOP}/iocBoot/iocsinqEPICS
|
|
dbLoadRecords("$(TOP)/sinqEPICSApp/Db/el755.db","PREFIX=SQ:NZ:AMAG:,NO=2")
|
|
|
|
|
|
iocInit
|
|
|
|
## Start any sequence programs
|
|
#seq sncxxx,"user=koenneckeHost"
|