LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Cursor Movement in one Graph, in accordance to the cursor in another graph

Solved!
Go to solution
I am using two XY graphs each with 4 cursors. I want to assign each cursor of graph A to each cursor of graph B such that the corresponding cursors in graph B moves in accordance to the cursors in graph A.
 I have used Active cursor, Cursor.PosX and it works for one cursor. However when I use the same concept to change the active cursor value and faciliate the automatic movement for all cursors they do not work.
Message Edited by Chathuri on 08-13-2009 06:26 AM
0 Kudos
Message 1 of 4
(2,978 Views)
Solution
Accepted by topic author Chathuri
Solved 🙂
0 Kudos
Message 2 of 4
(2,972 Views)

Can you please take some time and post here how you managed to solve the problem. That will help others in the future when they face the same problem as yours and looking for a solution.

 

Thanks,

Mathan

Message 3 of 4
(2,967 Views)

Hi,

 

As requested I would like to post the solution as to how I tacked the problem. It was actually small mistake on my part. When I connect the two property nodes for each XY graphs I should connect ActiveCursor to ActiveCursor and Cursor.PosX to Cursor.PosX. What I did was connect the Active cursor of A graph to the cursor.index of B graph. I have attached a small screen shot of connecting the first cursor of A graph to the 1st cursor of B graph so that the cursor in B graph follows the cursor in A graph.

 

In order to connect more cursors as in my case, the only change to be made is the change in the Acitve cursor constant to, 1,2,......

 

Chathuri

Message 4 of 4
(2,946 Views)