LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D surface plots with intensity value to overlay at each point?

i have a data set with XYZ points and an 8 bit intensity value (0-255) which i would like to overlay on the 3D plot. Is this possible with the 3D surface graph in LabVIEW?
0 Kudos
Message 1 of 10
(4,565 Views)
You probably can use the "cursor" property of the 3D surface graph.

Joe
0 Kudos
Message 2 of 10
(4,565 Views)
Joe

if i do this, i think i need to manually enter the values, and there are several thousand. It's not really practical. Perhaps i have missed a way that it is possible; what did you have in mind?

thanks

Fraser
0 Kudos
Message 3 of 10
(4,565 Views)
The "3D Surface" VI has a reference out, wire a property node to it and select "Cursors", wire a method mode to this "Cursors" reference, and you should be able to add cursors with coords.

Joe
0 Kudos
Message 4 of 10
(4,565 Views)
You have an interesting question. There is no built in functionality for plotting a "4d" plot on LabVIEW's 3d plot. You can make the existing tools work though. What you need to do is create 256 plots on a 3d parametric plot. Each plot will show just one color and each has been modified to show just the data points. Provided you have enough data, you can make a surface appear solid. Please see the attached VI.
0 Kudos
Message 5 of 10
(4,565 Views)
Jeremy

that's some very useful information and thanks for the example. i will
work on it next week.

thanks

Fraser
0 Kudos
Message 6 of 10
(4,565 Views)
Joe

I get so far, but i'm not sure how to add a cursor with coordinates
from a file. is this what you meant?

thank again

Fraser
0 Kudos
Message 7 of 10
(4,565 Views)
Jeremy,

within the framework of the example you posted me, how is it possible to read in the intensity value matrix as well.

also, i found that the vi didn't load properly with LabVIEW 7.0 - the 3D graph control was asking for a newer version?

kindest regards,

Fraser
0 Kudos
Message 8 of 10
(4,565 Views)
I have some beta software on my machine for the 3d graph activex control. Just delete the plot, drop a new one, and hook it up. I do not think there are any settings in the plot properties, so it the replacement should work like a champ.
0 Kudos
Message 9 of 10
(4,565 Views)
The answer is contained in the example at http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CBB39111EE034080020E74861&p_node=DZ52038&p_submitted=N&p_rank=&p_answer=&p_source=External

It took me five minutes of copying and pasting. Now my 3d Surface Graph maps to a programmable color scale just like an Intensity Chart.
0 Kudos
Message 10 of 10
(4,565 Views)