Commit 45328f8e authored by kpetersn's avatar kpetersn
Browse files

Use a PREFIX env var.

parent fc58c421
#
dbLoadRecords("$(LINKAM)/db/Linkam_T96.db", "P=kmp:,T=tc1,PORT=$(PORT),ADDR=0")
dbLoadRecords("$(LINKAM)/db/Linkam_T96.db", "P=$(PREFIX),T=tc1,PORT=$(PORT),ADDR=0")
#
dbLoadRecords("$(ASYN)/db/asynRecord.db", "P=kmp:,R=asyn,PORT=$(PORT),ADDR=0,OMAX=255,IMAX=255")
dbLoadRecords("$(ASYN)/db/asynRecord.db", "P=$(PREFIX),R=asyn,PORT=$(PORT),ADDR=0,OMAX=255,IMAX=255")
## Run Linkam C# code
cd "${TOP}/bin/${ARCH}"
......
......@@ -5,6 +5,7 @@
< envPaths
epicsEnvSet("PREFIX", "kmp:")
epicsEnvSet("PORT", "linkam1")
## Register all support components
......@@ -22,3 +23,6 @@ iocInit
## Start any sequence programs
#seq sncxxx,"user=kpetersnHost"
# Ugly hack to allow disconnecting for manual control via the screen
dbpf "$(PREFIX)asyn.AUCT" "noAutoConnect"
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