Alarms and warnings

What they are

They serves to inform DAQ processes about problems detected by DAQ itself or by user control or monitoring programs. By definition they are not foreseen to inform an user in every detail, but as a problem report from rather large systems. Then detailed analysis must be done by dedicated monitoring programs. The current state of alarms and warning are transferred in a run status segment for on-line monitoring and in BOB data block of Begin of Burst events for off-line needs. There are two kinds of alarms and warnings: The automon process displays alarms and warnings messages on a screen. It did not affect on a set  or reset alarms issued by other programs like HV monitoring ones. Reset of an alarm may be done only by program which set it.

IMPORTANT!  Program authors must provide the alarm reset at exit of their monitoring program.
 
 

Implementation of software alarm.

Any implementation of new alarms and warnings  are not allowed without expert (V.Olcshevskii, S.Trusov) permission.

To implement a new software alarm:


The function
    int get_soft_alarms(int *alarm_bit_pattern_word)
serves to get software alarm bit pattern word.  A set bit means that there is an alarm with number equal to bit number. The function returns 0 if failed and 1 in case of success. You don't need to call this function immediately after set_soft_alarms(() one, as the last one checks itself that request was done properly.

IMPORTANT! Processes RD and automon must be restarted after implementation of new alarm or warning
 
 

What to do

You see an alarm messages, know the reason and decided  to collect and write data nevertheless.