Commit 5634f85a authored by kpetersn's avatar kpetersn
Browse files

Moved linkam support to Linkam_T96.cmd

parent 93fd2b81
#
dbLoadRecords("$(LINKAM)/db/Linkam_T96.db", "P=kmp:,T=tc1,PORT=$(PORT),ADDR=0")
#
dbLoadRecords("$(ASYN)/db/asynRecord.db", "P=kmp:,R=asyn,PORT=$(PORT),ADDR=0,OMAX=255,IMAX=255")
## Run Linkam C# code
cd "${TOP}/bin/${ARCH}"
LinkamConfig("$(PORT)")
...@@ -7,22 +7,15 @@ ...@@ -7,22 +7,15 @@
epicsEnvSet("PORT", "linkam1") epicsEnvSet("PORT", "linkam1")
cd "${TOP}"
## Register all support components ## Register all support components
dbLoadDatabase "dbd/linkam.dbd" dbLoadDatabase "${TOP}/dbd/linkam.dbd"
linkam_registerRecordDeviceDriver pdbbase linkam_registerRecordDeviceDriver pdbbase
## Load record instances ## Load record instances
#dbLoadRecords("db/xxx.db","user=kpetersnHost") #dbLoadRecords("db/xxx.db","user=kpetersnHost")
# ## Load Linkam support (NOTE: changes working directory)
dbLoadRecords("$(LINKAM)/db/Linkam_T96.db", "P=kmp:,T=tc1,PORT=$(PORT),ADDR=0") < Linkam_T96.cmd
dbLoadRecords("$(ASYN)/db/asynRecord.db", "P=kmp:,R=asyn,PORT=$(PORT),ADDR=0,OMAX=255,IMAX=255")
## Run Linkam C# code
cd "${TOP}/bin/${ARCH}"
LinkamConfig("$(PORT)")
cd "${TOP}/iocBoot/${IOC}" cd "${TOP}/iocBoot/${IOC}"
iocInit iocInit
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment