LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D graph slow drawing

Is this sufficient?
--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 11 of 27
(1,913 Views)

hello elset, unfortunatelly it is not. I really need to see the lines. But thanks anyway

LV 2011, Win7
0 Kudos
Message 12 of 27
(1,902 Views)

I shut of auto-scale on all axis and tossed the code that removes and creates all of the plots.

 

With those changes your example completes in less than a second and there is no jumping 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 13 of 27
(1,898 Views)

2 C. Minnella:sorry but it still causes not really appreciated/expected behaviour for the user

2Ben:May I ask you for the code Ben? Since I do not see difference here, thanks

LV 2011, Win7
0 Kudos
Message 14 of 27
(1,890 Views)

Not usre if I saved this before shutting down that machine. I'll look again in the AM to see if you had trouble with this.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 15 of 27
(1,885 Views)
Hi Ben, the problem is that I always have to erase and recreate the plots since I do not know their amount in advance -> therefore I still see the process of drawing.
LV 2011, Win7
0 Kudos
Message 16 of 27
(1,854 Views)

Have you tried adding more than enough plots but leaving the extra empty?

 

If you want to wipe out all of the old plots and re-do them every time....

 

Then you lanch a dialog screen saying "Now updating plots! The may take some time, so please wait".

 

It your call. Have fun!

 

Ben

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

This is kinda lame, but you could place a picture of the graph in front of the graph while it is updating. I ran into this problem once, I and used a tab control where the graph tab wasn't visible while updating. A much better solution is to just use a different graph control. I'm not sure exactly what you are going for, but I've mentioned ZedGraph a bunch of times here. It's free, and produces very nice looking graphs. Also, since the 3D graph control is just an activeX object, ZedGraph isn't much harder to implement.

 

Chris

Message 18 of 27
(1,837 Views)

2C. Minnella: Thanks for the info. I might give a try to that in my next project!

2Ben: I will try that, it is not sucha bad idea 🙂

LV 2011, Win7
0 Kudos
Message 19 of 27
(1,794 Views)
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
LV 2011, Win7
Message 20 of 27
(1,587 Views)