LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Values not updated after case structure

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

 

werild.png

0 Kudos
Message 1 of 4
(932 Views)

Sorry, i was too careless. I should have added shift register in the inner loop.

 

Cheers!

0 Kudos
Message 2 of 4
(925 Views)

You need a shift register on your internal while loop.  Every iteration resets it to the empty constant.

0 Kudos
Message 3 of 4
(924 Views)

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


0 Kudos
Message 4 of 4
(904 Views)