05-14-2014 04:08 AM
Hello,
I am filling a tree control on the front panel of my main VI, which is wuite time consuming.
Before strting filling it, I set the DeferPanelUpdates property of the front panel to TRUE. After filling i reset it to FALSE.
In between I do some updates on the front panel through the property nodes of other controls -> and they will be updated while DeferPanelUpdates is FALSE! This, and the filling of the tree control happens in a subVI of the main VI. I disable the panel updates on the right one, on the main VI.
Is it a normal behaviour?
05-14-2014 01:02 PM - edited 05-14-2014 01:04 PM
This is not normal behavior and I suspect a bug in your code. Post it if you can.
EDIT: I just re-read your post. You said you are using a SubVI to do the work. Is the defer updates also in the subVI? where is that property getting the reference to your main VI from? If you don't wire one it will default to the VI it is in. So it will defer updates to the subVI and not the main VI that you want.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-01-2020 09:54 AM
I have observed that the tree control can become corrupted/buggy, so if someone else is experiencing slow updates of this type of control it might be related to this. I created a post about that here.