From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparison

Solved!
Go to solution

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.

0 Kudos
Message 1 of 7
(2,882 Views)

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.

0 Kudos
Message 2 of 7
(2,876 Views)

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

0 Kudos
Message 3 of 7
(2,871 Views)

Are you talking about a physical switch that is read by the DAQ, or just a button in the application?

0 Kudos
Message 4 of 7
(2,867 Views)

A physical switch that once we start running the program it wont initiate anything until we activate the switch

0 Kudos
Message 5 of 7
(2,864 Views)
Solution
Accepted by topic author Adrianshaffer

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.

0 Kudos
Message 6 of 7
(2,861 Views)

That fixed the problem with the or array

0 Kudos
Message 7 of 7
(2,845 Views)