04-15-2015 05:54 PM
Greetings,
I'm having some basic issues with case structures. Can anyone tell me what kind of "bonehead" mistake I'm making?
I know my counter works. What I would like to do is the following:
1.when the program starts, wait for stg vac signal (2nd case)
2.when stg vac signal appears, start counter acquisition (3rd case)
3.when stg vac signal is gone again, stop counter acquisition, and wait for another stg vac signal
Here's a copy of my "vi"
thanks!!
04-15-2015 06:07 PM
Your code is inside out. The case structure belongs inside the loop.
Currrently, the code in the start case executes and then the VI completes. All over!. Think dataflow!
04-15-2015 08:52 PM
04-15-2015 11:39 PM
kindly downgrade to LabVIEW 2013 or less the code and attached in the thread.