ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D plot - select coordinates

Hello,

 

I would like to know if there is a way to know the coordinates on a 3D surface plot in LabVIEW. Actually I know one way but I would like to know if there is another. The way I know is: right click on the 3D plot and then click on ´Properties of 3D plot´. Then click on ´Cursor´ and finally set the X, Y and Z positions to the desired point on the plot. I have attached a few images showing this. I have also in the Blockdiagramm a PropertyNode that shows the selected coordinates.

 

OK. Now, my question is...Is there a way to select a point just clicking on the graphic?? (without right clicking and selecting ´Properties´ and so on).

 

Thank you very much in advance,

Claudia

Download All
0 Kudos
Message 1 of 2
(2,734 Views)

Hello ClaudiaRamos,

 

I did some research and wrote a small VI to test these cursor things.

Unfortunately, I just could do it like you. I am afraid, it is not possible to click in the 3D diagram and have the x, y and z value output.

 

(Come to think about it: how should the computer know where you click? The mouse is not a 3D input device and there can be more than one point in the 3D room you could "mean" with your click - which one should the computer take?)

 

Also, I have a question: should the point you select be on the surface of you graph, or anywhere in the diagram?

I think the way we are trying just selects any point, regardless if it is on the surface of the plot, or not.

 

I am sorry I cannot give you a solution at this point now.

 

Best regards!

Christopher W.
Intern Application Engineering | NI Certified LabVIEW Associate Developer (CLAD) | NI Germany
0 Kudos
Message 2 of 2
(2,701 Views)