03-16-2015 12:50 PM
I initially had one >= block to exit this while loop and it worked fine. I wanted to add a second condition to exit the while loop, again using a >= block, so i run both into an OR block and I get a broken wire. I dont understand why one works but the other doesnt.
The bottom doesnt work with or without the OR block.
Solved! Go to Solution.
03-16-2015 12:59 PM
If your goal is to stop based on the OR of the two condition, greater then 720 "OR" any value that is greater than or equal to 0.5 you have to "OR" the array coming out of the greater than or equal 0.5.
03-16-2015 01:00 PM
You have an array of samples that you are comparing. Therefore, you have an array of booleans. You need a scaler boolean to go to the conditional terminal.
So this is where we question when you want to stop the loop. When any of the samples is greater than 0.5? Use OR Array Elements. When all of the samples are greater than 0.5? Use AND Array Elements. Both of those functions are in the Comparison palette.
03-16-2015 01:04 PM
thank you both for your feedback. Im still getting used to labview.