From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronize the update of all indicators on the panel

Hi.
     I am trying to synchronize the update of all indicators on the panel. Usally the labview will update the indicator as soon as the data is availible. However, that will be a problem when the data process is slow. Sometime half of the screen are new data, while the other half are still old data. Is there any way to delay the update of all indicators until the data of every indicators are updated?
0 Kudos
Message 1 of 4
(2,456 Views)
You can put all the indicators in the another sequence put it next to your code. If you wire to the indicators across to the next sequence, all the indicators will be updated at the same time.
 
 
0 Kudos
Message 2 of 4
(2,450 Views)
It's all in the dataflow! 🙂 Place all your indicators to the right of your code and place a single flat sequence frame around them.
 
Dataflow dicates that the sequence structure can only execute after ALL inputs to it receive new data, at which point the frame executes and all indicators are updated (virtually) at once.
0 Kudos
Message 3 of 4
(2,444 Views)

And if you can't put your indicator terminals in a certain location for whatever reason, you can use the Defer Panel Updates property of the Panel class in VI Server.  I'm sure if you search the forums for "Defer Panel Updates" you'll find some example code that will illustrate how to use this very handy property.

-D

0 Kudos
Message 4 of 4
(2,436 Views)