Added support for the AMOR SLS VME Magnet controllers to the sinq IOC application
refs #DM-91
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
|
||||
epicsEnvSet("ARCH","centos7-x86_64")
|
||||
epicsEnvSet("IOC","sinqEPICS")
|
||||
epicsEnvSet("TOP","/opt/amor/epics")
|
||||
epicsEnvSet("TOP","/afs/psi.ch/project/sinqdev/sinqepicsapp")
|
||||
epicsEnvSet("EPICS_BASE","/opt/epics/bases/base-3.14.12.5")
|
||||
epicsEnvSet("ASYN","/opt/epics/modules/asyn/4.27.0")
|
||||
epicsEnvSet("MOTOR","/opt/amor/epics")
|
||||
epicsEnvSet("SYNAPPSSTD","/opt/epics/modules/synAppsStd/3.4.1")
|
||||
#epicsEnvSet("LAKESHORE336","/usr/local/epics/support/lakeshore336")
|
||||
|
||||
epicsEnvSet("STREAM","/opt/epics/modules/streamdevice/2.7.1")
|
||||
|
34
iocBoot/iocsinqEPICS/stslsvme.cmd
Executable file
34
iocBoot/iocsinqEPICS/stslsvme.cmd
Executable file
@ -0,0 +1,34 @@
|
||||
#!../../bin/centos7-x86_64/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 "dbd/sinqEPICS.dbd"
|
||||
dbLoadDatabase "dbd/sinq.dbd"
|
||||
sinqEPICS_registerRecordDeviceDriver pdbbase
|
||||
|
||||
## Load record instances
|
||||
#dbLoadRecords("db/xxx.db","user=koenneckeHost")
|
||||
|
||||
|
||||
#---------- Install SLSVME
|
||||
drvAsynIPPortConfigure("slsvme", "mpc2084:60066",0,0,0)
|
||||
#drvAsynIPPortConfigure("slsvme", "localhost:8080",0,0,0)
|
||||
|
||||
dbLoadRecords("$(ASYN)/db/asynRecord.db","P=SQ:AMOR:,R=slsvme,PORT=slsvme,ADDR=0,OMAX=80,IMAX=80")
|
||||
|
||||
epicsEnvSet ("STREAM_PROTOCOL_PATH", "$(TOP)/sinqEPICSApp/Db:.")
|
||||
|
||||
cd ${TOP}/iocBoot/iocsinqEPICS
|
||||
dbLoadRecords("slsvme.db","PREFIX=SQ:AMOR:PBY:,NO=1")
|
||||
|
||||
|
||||
iocInit
|
||||
|
||||
## Start any sequence programs
|
||||
#seq sncxxx,"user=koenneckeHost"
|
Reference in New Issue
Block a user