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: 

Active Cursor (Property Node). Need to get an Active Cursor number.

Solved!
Go to solution

Hi everyone,

 

I have been searching for this answer for a while and has not find one. So, let me describe my issue:

 

I have an XY Graph with 10 Cursors on a FP. On the BD there is an Event driven State Machine.

I want to use a Propery node ActCrsr to get a number of an active cursor when an event occurse (e.g Cursor Grab event). Unfortunately LabVIEW gives me only 2 cursor numbers and I don`t see any logic behind it!

Why do I need it? Just imagine, when you grab a cursor, the graph to which it belongs is getting kind of active (the line gets thicker and the name appears and so on). My Program visualizes impulses graphical adjustments.

Prop Node.jpg

 

Thanks a lot in advance!

CLD
NI WorldClass 2015
0 Kudos
Message 1 of 3
(3,234 Views)
Solution
Accepted by topic author DaKo

Hello,

 

You need to use the "SelectedCrsrs" property.  Try the example below.

 

selectedcrsrs.png

Message 2 of 3
(3,208 Views)

Well, thanks a lot! It just solved all my issues))

Sometimes it is complicated to find the one))

CLD
NI WorldClass 2015
0 Kudos
Message 3 of 3
(3,195 Views)