From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,416 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 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 2 of 3
(2,408 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,387 Views)