LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to tell which cursor is moved in a XY graph with multiple cursors existing.

Solved!
Go to solution
My question is I have a XY graph with multiple cursor on it. I'd like to drag cursors, one at a time. So my question is how can I let labview know which one I drag? any idea?
See attachment of my creation of XY graph.
Arnold
0 Kudos
Message 1 of 3
(2,650 Views)

I'm not understanding your question.  Labview does know which cursor you're dragging (of course! Smiley Wink). 

 

If YOU want to know what that cursor is doing so you can use its position in your code you can get all that information with the 'cursor list' property.  It contains an array of all cursors and all their respective information including its location.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 3
(2,642 Views)
Solution
Accepted by topic author mugger

The XY -graph has a Cursor-release event., that event will return an index to which cursor was moved.

 

Good luck,

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 3
(2,621 Views)