== Program Name == pcsAlarmCont == PCS stream-state == group: TPP table: TPP state: ALARM == Description == pcsAlarmCont provides one of the connection points between the PCS system and the post processing [[postproc:alarm]] system. For each event found it the configured PCS stream-state, a CMS message is sent to the **alarmdec_pp** program by means of the **alarmevent** program. pcsAlarmCont runs the basic PCS client loop: * queries for the next event in its assigned stream-state * if an event is found, run //alarmevent // * if alarmevent succedded, set stream-state event result to 1 and repeat the loop * if alarmevent failed, set stream-state event result to 100 and repeat the loop * if no event is found, sleep 30 seconds and repeat the loop == Program Location == post-proc systems: /home/ncss/ncpp/bin/ == Configuration File == none == Source of Database name == [[PostProc:masterdb]] == Cron Starter Program == 0,10,20,30,40,50 * * * * /home/ncss/ncpp/bin/startPcsTasks == Log File == /home/ncss/ncpp/logs/pcsAlarmCont.log == Other Programs Called == * /home/ncss/ncpp/bin/alarmsend: checks for existence of event, then calls //alarmevent -c /home/ncss/run/params/alarmevent-pp.cfg // * /home/ncss/run/bin/alarmevent: publishes CMS message with subject // /signals/event/final//