To Start Alarm Handler
On op540m (or any sun machine) run the executable "/cvs/cds/caltech/target/sun/alh".
When it asks for configuration file, choose "/cvs/cds/caltech/alh/40M.alhConfig"
This will start the alarm handler.
To Change Alarm Levels
Find the approriate database file. Use PV info to determine which front-end (C1psl, C1pem, etc) the channel is on. Go to /cvs/cds/caltech/target/xxx where xxx is the correct front end code.
Find the .db file with the channel definition.
Change the field(HIGH,"XXXX") or field(HIHI,"XXXX") or which ever field you want to change.
Save the file. This will now load the next time the front-end is restarted.
To change the channel temporarily use ezcawrite, using CHANNEL.FIELD to denote the field to change.
For example to change the HIGH field value of C1:PEM-count_half to 1000 use:
ezcawrite C1:PEM-count_half.HIGH 10000
Here is an example of what you might want:
field(HIHI,"1e6") field(HHSV,"MAJOR") field(HIGH,"1e3") field(HSV,"MINOR") field(LOW,"1e-3") field(LSV,"MINOR") field(LOLO,"-10") field(LLSV,"MAJOR")
The MAJOR and MINOR fields indicate Red and Yellow alarms, respectively.
To change a HSV field from "NO_ALARM" to "MAJOR", you can't use ezcawrite--you can use caput on the solaris machines
caput -s C1:PEM-count_half.HSV "MINOR"
