VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Call procedure from multiple alarms

I have a "safe state" procedure that will be called by a large number of alarms.  Is there a way to call this procedure correctly from multiple alarms?  My original plan was to reset all possible calling alarms, however, the only way to reset an alarm is with the the "reset alarm and end subroutine" step.

 

My current work around is to call the "safe state" procedure as a sub-procedure and reset the correct alarm from the caller.  However, I still need to create at least one procedure for every alarm.  Is there a better way?

0 Kudos
Message 1 of 2
(5,589 Views)

Hi,

 

your "safe state" procedure could call sub-procedures for every alarm and in these sub-procedures you can reset the alarms.

This is still the same workaround, but maybe closer to your orginal plan.

How many alarms do you have?

 

Frank

0 Kudos
Message 2 of 2
(5,577 Views)