12-17-2009 09:28 AM
ceties wrote:
After playing with the new 3D graphs and realizing how buggy they are I reverted back to the ActiveX graphs and found a workaround for the slow drawing of multiple lines when the defer panel updates doesn't work. Maybe somebody will find it useful.Message Edited by ceties on 12-17-2009 07:01 AM
Could you give me a clue about the work-around?
Ben
12-17-2009 09:38 AM - edited 12-17-2009 09:43 AM
EDIT: the attached snippet replaced the property nodes with references so it looks a bit messy...
There is VI attached with the previous post - basically I use picture to get an image of the graph. Then I hide and move away the 3DGraph (I have to move the graph since I experienced some flickering in my application when making it again visible). Then the graph is updated, moved back, displayed and forced to redraw.
This way I display the result not the process of redrawing each particular single plot.
12-17-2009 09:45 AM
ceties wrote:EDIT: the attached snippet replaced the property nodes with references so it looks a bit messy...
There is VI attached with the previous post - basically I use picture to get an image of the graph. Then I hide and move away the 3DGraph (I have to move the graph since I experienced some flickering in my application when making it again visible). Then the graph is updated, moved back, displayed and forced to redraw.
This way I display the result not the process of redrawing each particular single plot.Message Edited by ceties on 12-17-2009 09:39 AMMessage Edited by ceties on 12-17-2009 09:43 AM
Thank you!
I have been trying to spped it up for years and never thought of that approach!
You just eraned my "Thinking out of the Box Award" for that idea!
Ben
08-17-2011 09:26 AM - edited 08-17-2011 09:27 AM
Hey guys, sorry for digging up an old thread but I'm trying to implement this workaround and have a minor glitch in the system. For some reason when I get the picture there is a hiccup running through the middle. Consequently this causes the picture to not line up exactly with the graph, causing some jitter. It's pretty minor. Does this happen in your workaround? Is it a 'bug' in 8.6? Something with the graph itself? It doesn't seem to do it when I get the image from a boolean or numeric.
The horizontal line by the red arrow is where you can see the hiccup
It makes for a pretty good optical illusion, at least. those hiccups on the grid are all on a horizontal line, but it doesn't look like it.
08-17-2011 09:52 AM
Forgot to add code.
08-19-2011 07:57 AM
I just ran your code in Win7 2011, and it still appears to "hiccup". When run, the line appears. When I stop, it goes away.
Chris
09-02-2011 07:16 AM
The same in LabVIEW 2010. When it is stopped, the line is straight.
Peter