LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Defer Panel Update - Tree

I have a VI with a tree with several rows. I need to change the symbols for each row at any given time. The only way I know how to do this is to assign them one-by-one using a property node. This takes a while, so I would like to leverage the Defer Panel Update property so the tree isn't updated until all symbols have been assigned for all rows.

 

In the attached VI set the Defer Panel Update to TRUE, assign all my symbols and then set it to FALSE. This does not work as the tree is clearly updating when Defer Panel Update is set to true. Am I missing something?

0 Kudos
Message 1 of 4
(2,959 Views)

If you look inside that MGI function, you will see that it resets the deferral on each iteration

 

EDIT: My bad. I was thinking you had this in a loop.  Nevermind.

EDIT2: Yeah, so the MGI function sets deferral to false at the end, so when you change the symbols, Defer is False.

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

The "defer..." invokes a GUI update ONCE when set to true and THEN the updates are defered until it is set false.

 

Could you share an image of your code since I do not have access to LabVIEW?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(2,927 Views)

Thank you you so much! This solves my problem.

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