#!../../bin/linux-x86/moControl ## You may have to change moControl to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/moControl.dbd" moControl_registerRecordDeviceDriver pdbbase epicsEnvSet("PREFIX","") # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=$(PREFIX)MO") ## Load record instances dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=0") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=1") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=2") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=3") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=4") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=5") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=6") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=7") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=8") dbLoadRecords("db/moChannel.db","P=VME:4, PORT=MO, ADDR=9") # Start the MO board driver. The first argument is the # asyn port name, the second argument is the base address asynMOConfig( "MO", 0x00ED0000 ) cd ${TOP}/iocBoot/${IOC} iocInit