LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract the x,y values of two cursors in the same xy graph

Solved!
Go to solution

I would like to extract the x,y values of 2 cursors in the same xy graph. The problem is i arrive to extract the value only for one curso. How can I do to extract the value of the other cursor ?

 

Regards,

 

Sylvain

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

Property nodes operate top to bottom, so all you need to do is change the "active cursor" property first. Here are two possibilities.

 

 

 

Message Edited by altenbach on 08-07-2009 09:04 AM
0 Kudos
Message 2 of 3
(2,742 Views)
You can use a for loop of two. In the loop set the cursor to iteration number and read XY coords. After the loop you will get an array of clusters (or a 2D array), where you will find the coords of both cursors, dont forget to use the autoindexing on the output of the loop.
0 Kudos
Message 3 of 3
(2,740 Views)