diff --git a/iocBoot/iocvxWorks/st_SIS3801.iocsh b/iocBoot/iocvxWorks/st_SIS3801.iocsh index f88c4c6541f0e2e96d2e5632c86a5ead051b4ef0..1f692e27abf48c463beeeb357350932816e82331 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)") -