I am trying to connect a start switch to commence the sequence to the DAQ. When the switch is pressed i want the system to output to the stop inside the while loop so that the program will move into the next frame when the switch is pressed.
Solved! Go to Solution.
The event structure is designed to handle value changes and works very well with booleans.
The picture you've attached shows a broken wire because you have an array of values going to the stop condition, and it can only take a single value.
I did some conversions last week that got this sequence to work so it could move on to the next frame. But sadly the file got corrupted and I can not remember how I did it and for the life of me can't get it again
Is it attached to a digital line that you can read?
If you are already reading in the data correctly, you can insert an "Or Array Elements" between the Equals and Stop sign and it will give you a True if any element is equal.