#!../../bin/linuxRT-x86/bpmApp ## You may have to change bpmApp to something else ## everywhere it appears in this file < envPaths # Setup environment variables epicsEnvSet("ENGINEER","Sonya Hoobler") epicsEnvSet("LOCATION","B140-Rack106") # tag log messages with IOC name # How to escape the "soft-iocbpminj" as the PERL program # will try to replace it. # So, uncomment the following and remove the backslash epicsEnvSet("EPICS_IOC_LOG_CLIENT_INET","${IOC}") epicsEnvSet(PATH,"/afs/slac/g/lcls/epics/base/base-R3-14-12/bin/linuxRT-x86") epicsEnvSet("EPICS_CA_MAX_ARRAY_BYTES", "800000") cd ../../ ## Register all support components dbLoadDatabase("dbd/bpmApp.dbd",0,0) bpmApp_registerRecordDeviceDriver(pdbbase) # Bypass beam presence checks cexpsh("-c",'fidProcessHasBeam=1') # STRUCK sis8300 drvUioPciGenRegisterDevice(0x1796,0x0018,0x10000,0x10000,-1,0x1,"sis8300-") # Configure Strucks # With slot number from PCIe, using NAT MCH sis8300DigiCommConfig(0,"/dev/sis8300-3",0x8642, 109000000, 0, drvGenericAfeAttach) sis8300DigiCommConfig(1,"/dev/sis8300-4",0x8642, 109000000, 0, drvGenericAfeAttach) # Talk to Strucks drvPadUdpCommSetup("",drvBpmStriplCallbacks, drvSis8300DigiCommIO) dbLoadRecords("db/iocAdminSoft.db","IOC=SOFT-IOCBPMINJ") dbLoadRecords("db/iocRelease.db","IOC=SOFT-IOCBPMINJ") dbLoadRecords("db/SOFT-IOCBPMINJbpm.db","FN=0") # Restore PVs < iocBoot/common/init_restore_soft.cmd cd iocBoot/${IOC} iocInit() # Start autosave < ../common/start_restore_soft.cmd