04-07-2009 03:55 AM
Hi guys,
I have the following VI built to extract the amplitude of a wave at two seperate points.
Only one reading of each pressure is required to be taken before terminating the while loop.. which is why I have the Boolean constants in the event structure leading to the stop if true conditional terminal. But it's not quite working.
Could someone give me a hand getting it fixed? ![]()
Pete
04-07-2009 04:49 AM
04-07-2009 05:02 AM
04-07-2009 06:36 AM
04-07-2009 07:24 AM
You acn use Shift Register for that.
Add two shift register to your while loop and initialize them with boolean trues. Us an And gate to to perfrom and And between the Shift Register and the buttons with the reslut being used to update the SR after each iteration.
When one of you booleans goes fals the And will return fals and the false will be maintained in the SR so that one it goes false it stays false.
Have fun!
Ben