#!../../bin/linux-x86/hallprobe ## You may have to change hallprobe to something else ## everywhere it appears in this file # This is a prefix for all PVs on this IOC in case we want a second instance epicsEnvSet("PREF","" ) < envPaths cd ${TOP} epicsEnvSet("STREAM_PROTOCOL_PATH","${TOP}/proto") ## Register all support components dbLoadDatabase "dbd/hallprobe.dbd" hallprobe_registerRecordDeviceDriver pdbbase ## Setup port (telnet: 2032, tcp: 2532) drvAsynIPPortConfigure("SER32","halld-u1-10-ts:2032") #drvAsynIPPortConfigure("SER32","halld-u1-10-ts:2532") # Debugging... #asynSetTraceMask("SER32",0,9) #asynSetTraceIOMask("SER32",0,2) ## Load record instances dbLoadRecords "db/iocAdminSoft.db", "IOC=${PREF}HLPRB" dbLoadRecords "db/save_restoreStatus.db", "P=${PREF}${IOC}:" dbLoadRecords "db/hallprobe.db", "P=${PREF}PAIR,R=SPEC:,PORT=SER32" cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") ## autosave setup < save_restore.cmd dbl > pv.list iocInit ## autosave startup create_monitor_set("hallprobe_settings.req", 30, "P=${PREF}PAIR, R=SPEC:") ## Handle autosave 'commands' contained in loaded databases. makeAutosaveFiles() create_monitor_set("info_positions.req", 5) create_monitor_set("info_settings.req", 30)