FOPI MBS IOC Startup Script August 2005
#!/u/marc/epics/mbsIOC/bin/linux-x86/mbsmon
dbLoadDatabase("/u/marc/epics/mbsIOC/dbd/mbsmon.dbd")
mbsmon_registerRecordDeviceDriver(pdbbase)
## Load record instances, one line for each MBS node to be monitored.
# Adjust mbsnames, evhirange (maximum event rate), and kbhirange (maximum data rate KB)
dbLoadRecords("/u/marc/epics/mbsIOC/db/dbMbsMonitor.db","user=FOPI, mbsnode=mbs1, mbsname=x86g-5, evhirange=3000, kbhirange=10000")
dbLoadRecords("/u/marc/epics/mbsIOC/db/dbMbsMonitor.db","user=FOPI, mbsnode=mbs2, mbsname=x86g-6, evhirange=3000, kbhirange=10000")
dbLoadRecords("/u/marc/epics/mbsIOC/db/dbMbsMonitor.db","user=FOPI, mbsnode=mbs3, mbsname=x86g-15, scan=1 second, evhirange=3000, kbhirange=10000")
dbLoadRecords("/u/marc/epics/mbsIOC/db/dbMbsMonitor.db","user=FOPI, mbsnode=mbs4, mbsname=x86g-16, evhirange=3000, kbhirange=10000")
dbLoadRecords("/u/marc/epics/mbsIOC/db/dbMbsMonitor.db","user=FOPI, mbsnode=mbs5, mbsname=x86g-17, evhirange=3000, kbhirange=10000")
# load the summation record:
dbLoadRecords("/u/marc/epics/mbsIOC/db/dbMbsSums.db","user=FOPI, mbsnode1=mbs1,mbsnode2=mbs2,mbsnode3=mbs3,mbsnode4=mbs4,mbsnode5=mbs5, scan=1 second, evhirange
=15000, kbhirange=50000")
# and go
iocInit()