LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous indicator readout

I would like to have my indicators on my front panel readout continuously not just when I hit the stop button. I've tried various configurations and multiple loops, but have not been able to achieve the result I want. I have attached the vi I am trying to get to do this. Thank you for any insights offered.
0 Kudos
Message 1 of 6
(3,061 Views)
Make sure that you put a wait timer (with some small wait like 10 to 100 ms) in your loop so that the user interface thread has a chance to get updated.
Message 2 of 6
(3,061 Views)
You mean like this (attached vi)? It still only updates when I hit stop.
0 Kudos
Message 3 of 6
(3,061 Views)
No, try this. By building the array inside the loop, you can continuously update your FP controls.
0 Kudos
Message 4 of 6
(3,061 Views)
Thank you very much.
I don't grasp the shift register function of the while loop yet, but I'll delve into that to better understand why it works this way. I did try putting them in the loop, I did not use the shift registers.
0 Kudos
Message 5 of 6
(3,061 Views)
The shift register allows data to flow from one iteration of a loop, into the next iteration. The data that flows into the right-side shift register will flow out of the left-side shift register on the next iteration. The data that is wired to the left-side from outside the loop, initializes the shift register, defining the value that flows out of it on the 0th iteration.
0 Kudos
Message 6 of 6
(3,061 Views)