LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D graph slow drawing


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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 21 of 27
(1,895 Views)

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:43 AM
LV 2011, Win7
Message 22 of 27
(1,891 Views)


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 AM
Message 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

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 23 of 27
(1,881 Views)

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.

test.PNG

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.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 24 of 27
(1,601 Views)

Forgot to add code.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 25 of 27
(1,596 Views)

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

0 Kudos
Message 26 of 27
(1,579 Views)

The same in LabVIEW 2010. When it is stopped, the line is straight.

 

Peter

Peter Vago
0 Kudos
Message 27 of 27
(1,538 Views)