LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed Signal Graph ignores Defer Frontpanel Update

Hello,

 

I am using a mixed signal graph within Labview 2015 64Bit, SPI1. I am writing serveral plots to the graph and then assign them to one of eight y-scales. Even though Defer Frontpanel Update is set, the graph is redrawn with every plot I assign, taking a long time.

At last, without Defer Frontpanel Update it takes longer (~21s oposed to ~12s).

 

The graph is embedded within a x-control and executes some other events. But assigning the y-scales takes the most time.

Do you have any suggestions to go around this problem (and make it quicker)?

 

Attached you find a simplified VI with shows the core problem. One is in original LV2015, the other is backsaved to LV2010.

Download All
Message 1 of 3
(2,597 Views)

You can make the graph not visible and then visible again after the updates are made.  This cuts the timings way down but does have the drawback of having a flicker for a half second.

aputman
Message 2 of 3
(2,553 Views)

Nice example and thanks for the thorough explanation and multiple code versions.  That's the way a question should be asked on the forums.

 

I would say that this is a bug.  There have been many bugs related to DeferPanelUpdates over the years and it would seem that there is at least one still lingering around. What I mentioned above does get around this issue but definitely should not be necessary. 

aputman
0 Kudos
Message 3 of 3
(2,550 Views)