06-16-2017 10:12 AM
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.
06-16-2017 04:22 PM
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.
06-16-2017 04:32 PM
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.