05-15-2006 12:44 PM
05-15-2006 12:57 PM
05-15-2006 01:02 PM
You cannot stop a for loop early. Even if you passed a value out to the while loop, that still wouldn't stop it. That is not the way LabVIEW and dataflow programming works. all you have to do is right click on the for loop and select Replace With While Loop. Then wire your termination logic to the conditional terminal.
Also, if you are using a for or while loop, there's usually no reason to use the iteration terminal to index an array. When you wire an array into a loop, you can right click on the entry tunnel and select Enable Indexing. This is the default behavior of a for loop. With auto-indexing, you do not wire a number to the count terminal.
05-15-2006 04:41 PM
05-15-2006 05:24 PM
05-15-2006 07:25 PM