LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display properties of a selected cursor when several cursors are available?

I have a list of 8 cursors and would like to show the information of one cursor (which the user has slected) in the cursor legend of the graph. But I dont want to expand the whole cursor legend until all cursor properties are visible because it occupies too much space in the front panel.

How do I get the index of the cursor the user has selected? I tried the "selected cursor" property but when I moved different cursors its value didnt change!
0 Kudos
Message 1 of 6
(2,963 Views)
I don't think it's possible to chagne the actual cursor legend. It is simple to create your own for just the active cursor. I've attached an example in LabVIEW 7.
Message 2 of 6
(2,963 Views)
Hi, Dennis!

Thanks for your help 😉

That was exactly what I needed! My solution was pretty close to yours, but I only forgot to make the "selected cursor" the "active cursor" thats the trick!

Thomas
0 Kudos
Message 3 of 6
(2,963 Views)
Hi Dennis!

Sorry to disturb you again 😞

It seems that your soulution doesnt work when you add an envent structure to the while-loop.
Do you have an idea why this is not working?
0 Kudos
Message 4 of 6
(2,963 Views)
Try putting the code for updating the cursor info inside the timeout event with a small timout value and see if that fixes your problem.
0 Kudos
Message 5 of 6
(2,963 Views)
Splendid 😉

Thanks again!
0 Kudos
Message 6 of 6
(2,963 Views)