08-07-2012 07:33 AM
Hi all,
I need some help regarding my VI.
I am trying to control a system and i need to change its frequency after 30 min. Means when i start, it will go on for 1 and half hour continuously.
I made the cases and the program is running fine. I want to put one thing in the program but not getting the ideas how to do it.
I want to put a button in a vi so that if i press that button the vi suddenly stops no matter in which case it is and the output become zero.
I try different ways but when i press the go button it go into the case and donot stop in between and comes out when all the cases finished.
![]()
If anybody knows any idea please help me out.
I attached the vi with a library...
08-07-2012 07:58 AM
Sounds like you need a state machine. Breakup the steps in your test into states and you can read the button after each state. Attached is a really quick template I just made.