09-08-2011 08:22 PM
I have a for loop inside a timed loop. Inside the for loop has a case structure which performs some operations. The values are not updated after the for loop. I attached the VI for reference. The image below shows where to place the probes.
Did i missed out something or was i careless??
I'm running LV2011
09-08-2011 08:52 PM
Sorry, i was too careless. I should have added shift register in the inner loop.
Cheers!
09-08-2011 08:58 PM
You need a shift register on your internal while loop. Every iteration resets it to the empty constant.
09-09-2011 02:27 AM
More than that, There is a difference between "No updates" and updates with wrong values.
When you use a probe, you should see that the value is "not executed" if it was really not updated. In this case, the values were updated, but with default values.
Regards,
Olivier L. | Certified LabVIEW Developer