#!../../bin/linux-x86/alarm ## You may have to change alarm to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/alarm.dbd" alarm_registerRecordDeviceDriver pdbbase epicsEnvSet("PREFIX","") ## Load record instances dbLoadRecords("db/alarmControl.db","P=${PREFIX}") # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=${PREFIX}ALARMSET") cd ${TOP}/iocBoot/${IOC} # autosave setup < alarm_save_restore.cmd iocInit # autosave startup create_monitor_set("alarmControl.req", 30, "PREF=${PREFIX}") # Handle autosave 'commands' contained in loaded databases. makeAutosaveFiles()