LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read x and y position of curser

I have a graph,
Using 2 curser I am fixing two points on a graph
I want to calculate slope using these two points.
So ,my problem is how to read XY co-ordinates of point, pointed by curser
0 Kudos
Message 1 of 3
(2,703 Views)
You use property node of the graph. Right click the graph indicator and select Create>Property Node. For the property node, you need the properties Active Cursor, Cursor Postion>Cursor X, and Cursor Postion.Cursor Y. You will need to write to Active Cursor and Read from the others. For the first cursor, write a 0 to Active cursor. Repeat the properties for the second cursor and write a 1 to the Active cursor property. The attached picture shows exactly what I mean.
0 Kudos
Message 2 of 3
(2,703 Views)
thanks
it's working fine
0 Kudos
Message 3 of 3
(2,703 Views)