From af9c08a7f1a32620ace03ba7c1a5946b40dd0891 Mon Sep 17 00:00:00 2001 From: timmmooney <mooney@aps.anl.gov> Date: Tue, 11 Nov 2014 22:32:25 +0000 Subject: [PATCH] Use doAfterIocInit(). --- iocBoot/iocvxWorks/st_SIS3801.iocsh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/iocBoot/iocvxWorks/st_SIS3801.iocsh b/iocBoot/iocvxWorks/st_SIS3801.iocsh index f88c4c6..1f692e2 100755 --- a/iocBoot/iocvxWorks/st_SIS3801.iocsh +++ b/iocBoot/iocvxWorks/st_SIS3801.iocsh @@ -21,6 +21,8 @@ dbLoadRecords("$(STD)/stdApp/Db/scaler32.db", "P=$(PREFIX), S=scaler1, DTYP=Asyn # This database provides the support for the MCS functions dbLoadRecords("$(MCA)/mcaApp/Db/SIS38XX.template", "P=$(PREFIX), PORT=$(PORT), SCALER=$(PREFIX)scaler1") +# This SNL programs reads the MCS +doAfterIocInit("seq(&SIS38XX_SNL, 'P=$(PREFIX), R=$(RNAME), NUM_SIGNALS=$(MAX_SIGNALS), FIELD=READ')") # Load either MCA or waveform records below # The number of records loaded must be the same as MAX_SIGNALS defined above @@ -97,7 +99,3 @@ asynSetTraceIOMask($(PORT),0,2) #asynSetTraceFile("$(PORT)",0,"$(MODEL).out") #asynSetTraceMask("$(PORT)",0,0xff) - -# !!! Don't firget to include the following command in st.cmd, after iocInit -#seq(&SIS38XX_SNL, "P=$(PREFIX), R=$(RNAME), NUM_SIGNALS=$(MAX_SIGNALS), FIELD=$(FIELD)") - -- GitLab