LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph - Get X values of two cursors ?

Solved!
Go to solution

Hi,

 

am plotting graph on a XY graph. There is only one plot.

I want to allow the user to select two points in the graphs using two cursors I have names "min" and "max".

Once two cursors are properly placed by the user, after he clicks a button, I need to obtain the two 'x' values of the cursors.

 

How would I do this.

 

Is it also possible to restrict the two cursors such that the "min" cursor does not overtake the "max" cursor?.

0 Kudos
Message 1 of 2
(3,107 Views)
Solution
Accepted by topic author Chathuri

Chathuri wrote:

Once two cursors are properly placed by the user, after he clicks a button, I need to obtain the two 'x' values of the cursors.


Use Property Node to extract the X value of the coursor.

First set the "Active Cursor" in the property node and then  "Cursor.PosX"

 

All the Best.

 

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