From f8a9e93246148280ca0ee9d6ba543bea227bdbe6 Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 10 Jun 2008 16:58:56 +0000 Subject: [PATCH] genrunid is a separate db now. This simplifies a configuration of master/slave IOCs. Sergey Yurevich --- ebctrl/ioc/ebctrlApp/Db/evtbuild.db | 9 --------- ebctrl/ioc/ebctrlApp/Db/genrunid.db | 8 ++++++++ ebctrl/ioc/iocBoot/iocebctrl/envPaths | 2 +- ebctrl/ioc/iocBoot/iocebctrl/st.cmd | 5 +++-- 4 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 ebctrl/ioc/ebctrlApp/Db/genrunid.db diff --git a/ebctrl/ioc/ebctrlApp/Db/evtbuild.db b/ebctrl/ioc/ebctrlApp/Db/evtbuild.db index baab933..9e83622 100755 --- a/ebctrl/ioc/ebctrlApp/Db/evtbuild.db +++ b/ebctrl/ioc/ebctrlApp/Db/evtbuild.db @@ -163,15 +163,6 @@ record(waveform,"HAD:$(eb):ebBuff") field(FTVL,"LONG") } -record(sub,"HAD:genRunId") { - field(DESC, "subroutine") - field(SCAN, "1 second") - field(INPA, "HAD:$(eb):byteWrit") - field(INPB, "HAD:$(eb):status") - field(INAM, "genRunId_init") - field(SNAM, "genRunId_proc") -} - record(sub,"HAD:writeRunId") { field(DESC, "subroutine") field(SCAN, "1 second") diff --git a/ebctrl/ioc/ebctrlApp/Db/genrunid.db b/ebctrl/ioc/ebctrlApp/Db/genrunid.db new file mode 100644 index 0000000..2818a71 --- /dev/null +++ b/ebctrl/ioc/ebctrlApp/Db/genrunid.db @@ -0,0 +1,8 @@ +record(sub,"HAD:genRunId") { + field(DESC, "subroutine") + field(SCAN, "1 second") + field(INPA, "HAD:$(eb):byteWrit") + field(INPB, "HAD:$(eb):status") + field(INAM, "genRunId_init") + field(SNAM, "genRunId_proc") +} \ No newline at end of file diff --git a/ebctrl/ioc/iocBoot/iocebctrl/envPaths b/ebctrl/ioc/iocBoot/iocebctrl/envPaths index 279023c..6950d1f 100644 --- a/ebctrl/ioc/iocBoot/iocebctrl/envPaths +++ b/ebctrl/ioc/iocBoot/iocebctrl/envPaths @@ -1,4 +1,4 @@ epicsEnvSet(ARCH,"linux-x86") epicsEnvSet(IOC,"iocebctrl") -epicsEnvSet(TOP,"/home/scs/yurevich/ebctrl/ioc") +epicsEnvSet(TOP,"/home/scs/daq/ebctrl/ioc") epicsEnvSet(EPICS_BASE,"/home/scs/base-3.14.9") diff --git a/ebctrl/ioc/iocBoot/iocebctrl/st.cmd b/ebctrl/ioc/iocBoot/iocebctrl/st.cmd index e67cb4e..efd71ff 100644 --- a/ebctrl/ioc/iocBoot/iocebctrl/st.cmd +++ b/ebctrl/ioc/iocBoot/iocebctrl/st.cmd @@ -13,8 +13,9 @@ ebctrl_registerRecordDeviceDriver(pdbbase) ## Load record instances dbLoadTemplate "db/userHost.substitutions" -dbLoadRecords("db/evtbuild.db","eb=eb01") -dbLoadRecords("db/netmem.db","eb=eb01") +dbLoadRecords("db/evtbuild.db","eb=eb02") +dbLoadRecords("db/netmem.db","eb=eb02") +##dbLoadRecords("db/genrunid.db") ## Set this to see messages from mySub var evtbuildDebug 1 -- 2.43.0