Hi,
I have some code set up to match two list together. To do this I have a
while loop which loops through one list and then a for loop inside that
loops through the other list (not very optimized I know, but forget
that for a second). I want to find the best match, so I keep track of
how close things come during each iteration of the for loop and save
the best result. The problem is that the for loop executes once and
then it moves on to the rest of the code that I had which checks
whether a match was made. It C this wouldn't be a problem because
things would excute in sequence, the for loop then the rest of the
code. But here LabView seems to want to do things in parallel or I
don't know what. I tried sticking a sequence structure around things so
that the for loop and it's logic would complete before moving on, but
as soon as my variables become valid, which they are after the first
time through the for loop LabView moves on and I get the same problem.
I've been using the debugging stuff, and I'm pretty sure this is the
problem, ie. the loop is not looping, it does the first iteration and
then moves on. What am I doing wrong and how do I fix it? I've included
code.
Thanks for any help,
Chris