12-22-2016 01:37 AM
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.........
12-22-2016 03:55 AM
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?
12-22-2016 08:39 AM - edited 12-22-2016 08:40 AM
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.