LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a 3d graph without using 2d array

Hy,

I have 3 1D array witch storing X,Y,Z coordinate of 10106 point, and i want to make a 3d surface with this points. So i want to Konow if it is possible without using 2D array

Thank for your help ^^
0 Kudos
Message 1 of 6
(3,331 Views)
I find a part of my anser but do you Know an easy way to build a Matrix with my 3 1D X,Y,Z array
0 Kudos
Message 2 of 6
(3,317 Views)
Not sure which part you answered yourself, so I'll answer both. You have to use a 2D array. To create your matrix from individual X, Y, and Z arrays, just use a Build Array function:

Message Edited by smercurio_fc on 07-10-2007 05:48 PM

Message 3 of 6
(3,297 Views)
Thanks a lot, i'll gonna test it. But i just have the 30 days free try, so i think i dont have this type of dataplotter.

Message Edité par Talliesin le 07-11-2007 04:01 AM

0 Kudos
Message 4 of 6
(3,286 Views)
Hi smercurio,

what's the name of the vi in your example pic? I couldn't find it in my LV installation...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(3,279 Views)
It's used in a couple of the example VIs. It's in the "Parameteric Curve 3D" and "Representation 3D Curve".

To original question: As I re-read this I think I may have led you astray. Are you trying to use the 3D controls? If so, you may be using the wrong 3D graph control. If you have an X, Y, and Z arrays you probably want the 3D Surface Graph control. When you place that control on the front panel you're actually placing an ActiveX control. On the block diagram you automatically get this:



That VI that gets placed has separate inputs for an X, Y, and Z 1D array.

You may be trying to use the 3D Parametric Surface Graph control. That required 2D arrays.

Message Edited by smercurio_fc on 07-11-2007 08:42 AM

Message 6 of 6
(3,269 Views)