04-04-2006 01:34 PM
I guess I am just confused on how the While loop works. It always seems to check the condition terminal, then regardless of what it is, it finishes running everything in the loop.
I just do not see how I can wire a t/f out of this loop when the loop is the code the obtains the data that determines if it needs to be run a second time or to finish. This is not in the example I posted, but in the real code I am using, the data is read and processed. If it is above a certain threshold, then I want the data to be read again. If it is not, then I do not want to read and process another data point. I want to move on to the next frame in the sequence.
Thanks for you help.
04-04-2006 01:53 PM
04-04-2006 02:29 PM - edited 04-04-2006 02:29 PM
Message Edited by altenbach on 04-04-2006 12:31 PM
04-04-2006 03:17 PM
Thanks.
The code I posted had lots of things removed from the original code I have. I am not even incrementing data in the original code. It was just trying to quickly get something that was similar (as far as loops and sequences) to what I had. You are correct that the inner loop should be a For loop. I inherited this code and I have never changed that.
I have always had problems understanding dataflow in labview (as evidenced by this problem). Thanks for the help. I think I understand a little better now.
04-04-2006 03:48 PM