I am reading the signal from a simple sensor using a myDAQ. All I want to do is stop the myDAQ from taking data once it exceeds a value such as when it reads an amplitude of 7 and if it never reads that number then to just continue until a user stops it. I don't know if this can be accomplished with just a While Loop and a true and false case or if I need an Event Structure. Either way I am lost.
Solved! Go to Solution.
You would not need an event structure. You can stop the loop on any condition you choose, and in this case your condition would be generated from one of the comparison primitives.