LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting surface using spherical coordinates

I have a hardware setup consisting of two motors with encoders and a laser sensor,kind of like this http://luckylarry.co.uk/arduino-projects/arduino-processing-3d-sensor-data-visualisation/

I am doing exactly what this guy is doing but want the plot on the labview front panel.

The spherical coordinates are being transfered from the arduino using visa interface,changed from strings to numerical values,made an array and then is being transfered to the 3D Curve vi of the Labview.The points are correctly plotted as desired but i want to make a surface from these points.I have tried the 3D Surface vi but is not giving satisfactory results(I am not understanding why it requires 2D array for the Z-coordinates).I have tried understanding it for cartesian coordinates but things are completely different for spherical coordinates.

I am getting correct points but not able to convert them to a surface.

I want a 3D surface on 3D Surface vi using spherical coordinates.

PLEASE HELP.........

 

0 Kudos
Message 1 of 3
(2,530 Views)

Did you try this toolkit: http://sine.ni.com/nips/cds/view/p/lang/en/nid/213166 ?

And can you post your code or screenshots?

0 Kudos
Message 2 of 3
(2,492 Views)

Thank you stockson for such an early reply.Advanced Plotting toolkit is something which i haven't tried earlier.

But the Advanced Plotting Toolkit doesn't seem to plot 3D graphs,it only plots on 2D surface with magnitude shown by different colours.

Also it is requiring 2D array for z-coordinates(which sadly i don't understand).

I have attached the vi in which i have saved the values and plotted them using 3D Curve.The curve is perfect but is the collection of points not a surface.

0 Kudos
Message 3 of 3
(2,478 Views)