08-08-2011 08:27 PM
I need reference material for alarms and procedures in VeriStand. Specifically I need to understand the implications of alarm priority and I need to understand conditional statements and the purpose of the End step in procedures, but I would like to get as much information as possible. The help file doesn't tell me anything I couldn't figure out by looking at the configuration page.
08-09-2011 12:21 PM - edited 08-09-2011 12:22 PM
Hello,
I did some researching and unfortunately the only documentation we have out there is going to be found in the VeriStand Help. If you have some specific questions though I would be more than happy to answer those.
Regards,
08-09-2011 12:30 PM
For alarms, what how is priority used by VeriStand? For example if a high priority alarm is triggered while a procedure called from a low priority alarm is executing, what happens? Is the low priority procedure aborted? Or perhaps is execution of a low priority alarm resumed after executing the high priority procedure? I have alarms that aren't being triggered now even though their conditions are met. I don't know if I have a priority problem or if there is a problem with XNET.
For procedures, what is the End step? Is it for the conditional statements? How do I arrange multiple conditional statements in a single procedure?
I will probably have many more questions so your help will be appreciated.
08-11-2011 03:03 PM
Hello,
The way alarms work is that if there is a procedure running from a low priority alarm and a high priority alarm is triggered, the high priority procedure will interrupt the low priority. The low priority will then resume from where it was interrupted once the high priority is finished. On the other hand, if a high priority procedure is running a low priority alarm is triggered it will be ignored all together, unless the condition of the low priority alarm is still met once the high priority finishes. If you are missing alarms it could be that you have a priority issue.
The End step is used to end a procedure. The End procedure can be called from a subroutine and it will end both the subroutine and the main procedure that the subroutine was called from. The End step does not have to be used though if you have an alarm response that will reset the alarm and exit the subroutine.
I hope this helps,
Regards,