#!../../bin/linux-x86/vmeCrates < envPaths #epicsEnvSet(vmeCrates_loaded,1) epicsEnvSet("MIB","WIENER-CRATE-MIB::") epicsEnvSet("WO", "WIENER-CRATE-MIB::output") epicsEnvSet("WOM", "WIENER-CRATE-MIB::outputMeasurement") epicsEnvSet("WS", "WIENER-CRATE-MIB::sensor") epicsEnvSet("WF", "WIENER-CRATE-MIB::fan") cd ${TOP} ## Register all support components dbLoadDatabase ("dbd/vmeCrates.dbd") vmeCrates_registerRecordDeviceDriver(pdbbase) #devSnmpSetDebug( 10 ) # Load record instances #dbLoadRecords ( "db/caSecurity.db" ) # Load VME control related record instances epicsEnvSet("VME_SCAN", "2 second") epicsEnvSet("pref" , "" ) # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=$(pref)VME") epicsEnvSet("T1H", "RESET:i:AmbUpStreamSol_Temp") epicsEnvSet("T2H", "RESET:i:AmbDownstreamSol_Temp") # Groups for creates dbLoadRecords("db/vmeCratesCommon.db","PREF=${pref},HOST=vmetagh1,MINVME=2500,MAXVME=3000,MINVXS=3000,MAXVXS=6000,T1_HALL=$(T1H),T2_HALL=$(T2H)") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:glob") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:bcal") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:cdc") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:ctrls") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:discr") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:fcal") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:fdc") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:psst") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:tagger") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:tof") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:trig") dbLoadRecords("db/vmeCrateGroup.db","PREF=${pref}vme:ecal") # BCAL Crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal3,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal3:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal4, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal4, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal4,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal4:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal5, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal5, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal5,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal5:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal6, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal6, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal6,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal6:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal7, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal7, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal7,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal7:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal8, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal8, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal8,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal8:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal9, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal9, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal9,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal9:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal10, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal10, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal10,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal10:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal11, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal11, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal11,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal11:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal12, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal12, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal12,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal12:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal13, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal13, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal13,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal13:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal14, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal14, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal14,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal14:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal15, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal15, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal15,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal15:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmebcal16, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmebcal16, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmebcal16,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmebcal16:,T_VAL=${pref}glob:amb_t_avg") # FMWPC Crate #dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefmwpc1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") #dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefmwpc1, COMMUNITY=guru, VER=V2c") #dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefmwpc1,VXS_FLAG=1") #dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefmwpc1:,T_VAL=${pref}glob:amb_t_avg") # CDC Crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmecdc1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmecdc1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmecdc1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmecdc1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmecdc2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmecdc2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmecdc2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmecdc2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmecdc3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmecdc3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmecdc3,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmecdc3:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmecdc4, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmecdc4, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmecdc4,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmecdc4:,T_VAL=${pref}glob:amb_t_avg") # Controls Crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmepulser1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmepulser1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmepulser1,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmepulser1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmepulser2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmepulser2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmepulser2,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmepulser2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetagctrl, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetagctrl, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetagctrl,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetagctrl:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmehdmag, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmehdmag, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmehdmag,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmehdmag:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmehddiag, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmehddiag, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmehddiag,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmehddiag:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmehdcol, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmehdcol, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmehdcol,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmehdcol:,T_VAL=${pref}glob:amb_t_avg") #FCAL Crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal3,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal3:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal4, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal4, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal4,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal4:,T_VAL=${pref}glob:amb_t_avg") #dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal5, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") #dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal5, COMMUNITY=guru, VER=V2c") #dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal5,VXS_FLAG=1") #dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal5:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal6, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal6, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal6,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal6:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal7, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal7, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal7,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal7:,T_VAL=${pref}glob:amb_t_avg") #dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal8, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") #dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal8, COMMUNITY=guru, VER=V2c") #dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal8,VXS_FLAG=1") #dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal8:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal9, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal9, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal9,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal9:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal10, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal10, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal10,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal10:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal11, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal11, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal11,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal11:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefcal12, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefcal12, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefcal12,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefcal12:,T_VAL=${pref}glob:amb_t_avg") #ECAL Crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal3,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal3:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal4, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal4, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal4,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal4:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal5, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal5, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal5,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal5:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal6, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal6, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal6,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal6:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeecal7, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeecal7, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeecal7,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeecal7:,T_VAL=${pref}glob:amb_t_avg") # FDC Crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc3,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc3:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc4, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc4, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc4,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc4:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc5, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc5, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc5,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc5:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc6, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc6, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc6,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc6:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc7, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc7, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc7,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc7:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc8, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc8, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc8,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc8:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc9, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc9, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc9,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc9:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc10, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc10, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc10,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc10:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc11, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc11, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc11,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc11:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc12, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc12, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc12,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc12:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc13, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc13, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc13,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc13:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmefdc14, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmefdc14, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmefdc14,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmefdc14:,T_VAL=${pref}glob:amb_t_avg") # ST, PS, PSC crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmest, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmest, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmest,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmest:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmestpsc1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmestpsc1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmestpsc1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmestpsc1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmestpsc2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmestpsc2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmestpsc2,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmestpsc2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeps1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeps1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeps1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeps1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeps2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeps2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeps2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeps2:,T_VAL=${pref}glob:amb_t_avg") # Tagger crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetagh1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetagh1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetagh1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetagh1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetagh2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetagh2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetagh2,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetagh2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetagm1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetagm1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetagm1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetagm1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetagm2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetagm2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetagm2,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetagm2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetagmh, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetagmh, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetagmh,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetagmh:,T_VAL=${pref}glob:amb_t_avg") # TOF crates dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetof1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetof1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetof1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetof1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetof2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetof2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetof2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetof2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetof3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetof3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetof3,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetof3:,T_VAL=${pref}glob:amb_t_avg") # COMCAL #dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmeccal, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") #dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmeccal, COMMUNITY=guru, VER=V2c") #dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmeccal,VXS_FLAG=1") #dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmeccal:,T_VAL=${pref}glob:amb_t_avg") # DIRC dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmedirc, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmedirc, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmedirc,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmedirc:,T_VAL=${pref}glob:amb_t_avg") # TRD dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetrd1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetrd1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetrd1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetrd1:,T_VAL=${pref}glob:amb_t_avg") # Trigger dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetrig1, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetrig1, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetrig1,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetrig1:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetrig2, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetrig2, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetrig2,VXS_FLAG=1") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetrig2:,T_VAL=${pref}glob:amb_t_avg") dbLoadRecords("db/wienerR.db","PREF=${pref},HOST=vmetrig3, COMMUNITY=public, VER=V2c,SCAN=${VME_SCAN}") dbLoadRecords("db/wienerW.db","PREF=${pref},HOST=vmetrig3, COMMUNITY=guru, VER=V2c") dbLoadRecords("db/vmePedestals.db","PREF=${pref},HOST=vmetrig3,VXS_FLAG=0") dbLoadRecords("db/vmeInterlockTemp.db","P=${pref}vmetrig3:,T_VAL=${pref}glob:amb_t_avg") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") # autosave setup < vmeCrates_save_restore.cmd iocInit create_monitor_set("vmeCrates.req", 30,"P=$(pref)") # 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:")