LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to prevent a user from using the graph cursor legend to delete a cursor?

I would like to have 2 cursors on a graph that can't be deleted by the user.
0 Kudos
Message 1 of 7
(3,245 Views)
You can right click on the legend and select Advanced>Enabled State>Disabled.
0 Kudos
Message 2 of 7
(3,240 Views)
Hi Dennis,
 
I'm having this problem as well, and found your post. Are you referring to the Enabled State of the entire graph?  If so, this prevents the user from moving the cursor at all while the VI is running, which, of course, defeats the purpose of having a cursor at all.  Ideally, I would like to show the cursor palette and disable it's run-time shortcut menu.  This doesn't appear to be possible.   One workaround would be to hide the palle and instead include some indicators that show the cursors' values.  I'd prefer to show the palette to keep the program simpler.
 
Any other solutions?
 
Thanks,
Alan
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 3 of 7
(3,174 Views)
At the time, all I had was 7.1 and with the cursor legend in 7.1, you could right click on just the cursor name string control and disable that. It did not affect the dragging of the cursor or the use of the cursor 'pad'. The cursor legend in 8.x is completely different and I haven't had much oppurtunity to play with it. I'll do soem experiments and hopefully someone else will have some ideas.
0 Kudos
Message 4 of 7
(3,167 Views)
Thanks Dennis.  I'm using 8.5 right now.
 
--Alan
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 5 of 7
(3,164 Views)

Alan,

A quick and easy way might be to place a transparent decoration over the cursor palette.

0 Kudos
Message 6 of 7
(3,152 Views)
Ah, the ol' invisible decoration trick...  I'll have to remember this when my kids ask me about buying Haloween decorations:  "We don't need to buy them - I already hung them up - it's just that they are invisible..."   Smiley Tongue
 
 
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
Message 7 of 7
(3,139 Views)