#!../../bin/linux-x86/hvCaen ## You may have to change hvCaen to something else ## everywhere it appears in this file < envPaths epicsEnvSet("PREFIX","") epicsEnvSet("MIB","WIENER-CRATE-MIB::") epicsEnvSet("WO", "WIENER-CRATE-MIB::output") # Error Log To Console 0 or 1 eltc 1 cd ${TOP} ## Register all support components dbLoadDatabase "dbd/hvCaen.dbd" hvCaen_registerRecordDeviceDriver pdbbase # scanOnce requests are placed in a ring buffer. # This command can be used to set the size for the ring buffer. # The default is 1000. It should rarely be necessary to override this default. # Normally the ring buffer overflow messages appear when the scanOnce task fails. scanOnceSetQueueSize 20000 dbPvdTableSize 65536 # detUsePrefix "prefix" detUsePrefix ${PREFIX} devSnmpSetParam(DebugLevel, 0) #detConfigureCrate "Detector", "URI" #detConfigureCrate "FDC", "sqlite://${TOP}/hvCaenApp/src/tt.db" #detConfigureCrate "BPU", "sqlite://${TOP}/hvCaenApp/src/tt_BP.db" detConfigureCrate "BPD", "sqlite://${TOP}/hvCaenApp/src/tt_merged.db" # Automatically generate EPICS DB for CAEN HV Chassis detDbLoadRecords #dbLoadRecords "db/DetWF.db" "DET=BPU:hv,PREFIX=${PREFIX},SUFFIX=imon,NELM=8" #dbLoadRecords "db/DetWF.db" "DET=BPU:hv,PREFIX=${PREFIX},SUFFIX=vmon,NELM=8" #dbLoadRecords "db/DetWF.db" "DET=BPU:hv,PREFIX=${PREFIX},SUFFIX=v0set:fbk,NELM=8" #dbLoadRecords "db/DetWF.db" "DET=BPU:lv,PREFIX=${PREFIX},SUFFIX=i_rd,NELM=6" #dbLoadRecords "db/DetWF.db" "DET=BPU:lv,PREFIX=${PREFIX},SUFFIX=v_sens,NELM=6" dbLoadRecords "db/DetWF.db" "DET=BPD:hv,PREFIX=${PREFIX},SUFFIX=imon,NELM=8" dbLoadRecords "db/DetWF.db" "DET=BPD:hv,PREFIX=${PREFIX},SUFFIX=vmon,NELM=8" dbLoadRecords "db/DetWF.db" "DET=BPD:hv,PREFIX=${PREFIX},SUFFIX=v0set:fbk,NELM=8" dbLoadRecords "db/DetWF.db" "DET=BPD:lv,PREFIX=${PREFIX},SUFFIX=i_rd,NELM=6" dbLoadRecords "db/DetWF.db" "DET=BPD:lv,PREFIX=${PREFIX},SUFFIX=v_sens,NELM=6" # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=BPDVLT") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") iocInit