LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update a waveform graph inside a nested loop

I have a vi which acquires, displays and saves continuous waveform data within a while loop, but I have a second nested while loop (with several sequence and case statements within it) which does not include the graph indicator. When the progression of the VI is such that it is within this "nested while" it no longer displays the data (although it still collects it). How do I continue to display the data?
0 Kudos
Message 1 of 2
(2,580 Views)
Hi,
Try using a local variable. To create a local variable, right-click on the graphical indicator >> Create >> Local Variable.

Use the local variable inside the nested while loop. Local variables allow you to access the control/indicator values in different locations on your block diagram. However, do not overuse them because they are memory intensive.

I hope this helps.

Sincerely,
Feroz
National Instruments
0 Kudos
Message 2 of 2
(2,580 Views)