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: 

XY graph datapoint display using cursor

Solved!
Go to solution

Hello to all, I am using XY graph to display amplitude v/s time. While running the vi, data is continuously plooted on graph till user stops the vi. I want to add a feature such that, while running the vi, when user click on the graph on particular position using cursor, it should display corresponding time value and amplitude value of that point. I mean value of Y-axis corresponding to X-axis not the cursor position. When using cursor position, it is ok with X-axis but it shows the position of cursor for Y-axis (as property says) , and I want datavalue of that point not y-axis position.

 

I hope it is clear with question. Let me have some example...for y=x graph shown below, you can see for cursor x=4.4 and y=6.8, how to display corresponding datapoint which shoud be y=4.4

0 Kudos
Message 1 of 3
(3,971 Views)
Solution
Accepted by MSD100

While creating (or even after you created), choose 'Snap to' Plot 0.

 

Don't let it be 'Free Dragging'

 

Snap to Plot 0

 

Example attached.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 2 of 3
(3,962 Views)

graph.jpg

0 Kudos
Message 3 of 3
(3,960 Views)