#!../../bin/linux-x86/pscScaler ## You may have to change pscScaler to something else ## everywhere it appears in this file < envPaths # This is a prefix for all PVs on this IOC in case we want a second instance epicsEnvSet("PREFIX","") cd ${TOP} ## Register all support components dbLoadDatabase "dbd/pscScaler.dbd" pscScaler_registerRecordDeviceDriver pdbbase # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=SCALER") ## Load record instances dbLoadRecords("db/pscScaler.db","PREF=$(PREFIX)") dbLoadRecords("db/haloScaler.db","PREF=$(PREFIX)") dbLoadRecords("db/bcalScaler.db","PREF=$(PREFIX)") dbLoadRecords("db/tofScaler.db","PREF=$(PREFIX)") dbLoadRecords("db/fcalScaler.db","PREF=$(PREFIX)") dbLoadRecords("db/taggerScaler.db","PREF=$(PREFIX),N_TAGH=233,N_TAGM=102") dbLoadRecords("db/tacScaler.db","PREF=$(PREFIX)") dbLoadRecords("db/scalerTrig.db","PREF=$(PREFIX),R='hd:scaler'") asSetFilename("${TOP}/iocBoot/common/ca_security.acf") cd ${TOP}/iocBoot/${IOC} < scaler_save_restore.cmd iocInit # autosave startup create_monitor_set("scaler.req", 30, "PREF=$(PREFIX)") # Handle autosave 'commands' contained in loaded databases. makeAutosaveFiles() #create_monitor_set("info_positions.req", 5, "P=xxx:") #create_monitor_set("info_settings.req", 30, "P=xxx:")