LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an upper limit on the number of points that can be plotted using a CW 3-d graph?

Solved!
Go to solution
I started with one of the 3-d graph examples available on this web-site. I believe it was the 3-d cube (?).

If I just use the "Plot3DCurve" method and set the plot style to be "point", I can plot my entire data set (about 150,000 point) OK.

If I switch the plot stlye to "line", I get a big blank graph with the exception of the last 30,000 points where the plot looks correct.

If I reduce my data set to 30,000 points the "line" sytle looks fine.

THere are NO errors being returned.

I get a similar results if I select a plot style of "surface".

So...
Is there an upper limit on the number of points that can be plotted CW 3-d graph with a plot style OTHER THAN "point
"?

Ben

I may try to post an example this week-end but I am not sure if the Exchange will allow an 5M attachement.
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 1 of 24
(3,977 Views)
Hi,

When you make an example you don't have to include all the data. You can
make two for loops, with random data, or a 2d sin wave... This way the vi
will stay small, and the data will be simulated. The generation of the data
might take a while....

As for the problem... The 3d graph uses opengl, and opengl should be well
capable of drawing 150k points. Even the software emulation of opengl should
be able to do this.

So it seems like a implemented limit (bug) to me...

Regards,

Wiebe.

"Ben" wrote in message
news:50650000000800000062DE0000-1079395200000@exchange.ni.com...
> I started with one of the 3-d graph examples available on this
> web-site. I believe it was the 3-d cube (?).
>
> If I just use the "Plot3DCurve" method and set the plot
style to be
> "point", I can plot my entire data set (about 150,000 point) OK.
>
> If I switch the plot stlye to "line", I get a big blank graph with the
> exception of the last 30,000 points where the plot looks correct.
>
> If I reduce my data set to 30,000 points the "line" sytle looks fine.
>
> THere are NO errors being returned.
>
> I get a similar results if I select a plot style of "surface".
>
> So...
> Is there an upper limit on the number of points that can be plotted CW
> 3-d graph with a plot style OTHER THAN "point"?
>
> Ben
>
> I may try to post an example this week-end but I am not sure if the
> Exchange will allow an 5M attachement.
Message 2 of 24
(3,976 Views)
Hi Ben,

There have been issues previously reported with the Plot3DMesh method not plotting more than ~30,000 points, but the Plot3DCurve has never exhibited this problem.

Do you think you could simplify your code down to a smaller size and/or zip it up to post to the DevExchange? I would like to take a look at your program to see if I can reproduce the issue.

Thanks!

Kileen C.
Applications Engineer
National Instruments
Message 3 of 24
(3,976 Views)
Hi Kileen,

This is consistant with my observations.

Here is a stripped down version with just data and a couple property nodes.

If there is something I am missing, let me know.

Well actually, the stripped down version is still to large to post!

I'll see if I can get Molly to post the demo.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 24
(3,976 Views)
I just got off the phone with Molly and she will try to post it once the e-mail is delivered.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 24
(3,977 Views)
Ben,
Here is your attachment.
Thanks,
Molly K.
Web Support & Operations
Molly K.
Web Support & Operations Manager
National Instruments
0 Kudos
Message 6 of 24
(3,977 Views)
Thank you Molly!

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 24
(3,977 Views)
WARNING!

This VI takes about 3-5 minutes to run on a 2.3GHz CPU with 512Meg memory.

Start it, and go get some coffee.

It will finish up about the time you get back.

Thanks in advance for any ideas or suggestions. I am NOT an expert in using these objects.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 24
(3,839 Views)
Hi Wiebe,

I am leaning that direction as well.

See the other response for an example if you are interested.

Thanks for the reply,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 24
(3,977 Views)
Ben,

I attached a test using the 3d curve. 40000 points seems to be ok. I also
tried 140000 points. The cone should (and does) look like the picture in the
diagram. The first 10000 points are drawn different then the rest, so I can
see if all the points are drawn. I can't see any wrong behaviour. Could you
modify it so that it displays the problem?

Regards,

Wiebe.





"Ben" wrote in message
news:5065000000050000004A9D0100-1079395200000@exchange.ni.com...
> I just got off the phone with Molly and she will try to post it once
> the e-mail is delivered.
>
> Ben



[Attachment 3D Curve Test.vi, see below]
0 Kudos
Message 10 of 24
(3,839 Views)