LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Break Case during Process Help

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.

Smiley Sad

 

If anybody knows any idea please help me out.

 

I attached the vi with a library...

Download All
0 Kudos
Message 1 of 2
(2,350 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,338 Views)