#!../../bin/linux-x86/voltage < envPaths # The name of the IOC, also prefix that will be used in front of hardware-based records epicsEnvSet("IOCNAME","TESTVLT") # Prefix that will be used in front of the detector-based records epicsEnvSet("PREFIX","") # Macros for Wiener MPOD driver 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/voltage.dbd" voltage_registerRecordDeviceDriver pdbbase #Requests for the general putpose callback tasks are placed in a ring buffer. This command can be used to set the #size for the ring buffers. The default is 2000. A message is issued when a ring buffer overflows. It should rarely be #necessary to override this default. Normally the ring buffer overflow messages appear when a callback task fails. callbackSetQueueSize 160000 # 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 80000 dbPvdTableSize 65536 # This prefix will show up in front of the detector-based names. detUsePrefix ${PREFIX} # Debug level for SNMP devSnmpSetParam(DebugLevel, 0) #CAENx527ConfigureCreate "short name", "HostName or IPAddress", "optional UserName", "optional password" CAENx527ConfigureCrate "S1-1-MID", "halldcaenhv12" #CAENx527DbLoadRecords "optional prefix" "crate" "slot" CAENx527DbLoadRecords ${IOCNAME}:, "", -1 drvMPODConfig( "halldmpod2", "S1-1-BOT", 10 ) ## Set this to see messages from mySub #var mySubDebug 1 ## Run this to trace the stages of iocInit #traceIocInit # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=$(PREFIX)$(IOCNAME)") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") iocInit ## Start any sequence programs #seq sncExample, "user=nersesHost"