LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An apparent bug - Loop outputs empty values even when the iteration # is no longer 0

OK, LV 7.0 (it doesn't happen in 6.1), I wouldn't be surprised if this was fixed since then.
 
When using a control or a calculated value to determine the number of iterations for a for loop, running the VI once with 0 causes subsequent runs to forget the values in the wires if those values came from constants. This is reminiscent of another constant behavior I've seen in which 7.0 was the odd one out, which is why I wouldn't be surprised if it has been fixed.

___________________
Try to take over the world!
Message 1 of 3
(2,894 Views)

Hi tst

I just tested the vi in LV7.0 and LV8.0 (yes, eventually I also installed LV8.0) - I was able to reproduce the behaviour you desribed in LV7.0. In 8.0 it works without problems - so obviously this bug is fixed.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 3
(2,888 Views)
Just tested in 7.1.1 and it works fine.  Must have been fixed in either 7.1 or 7.1.1
- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 3
(2,844 Views)