LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control cursor behavior

LV 8.6.1f1

 

I have two plots on one graph, and two cursors reading out specific Y-values of the signals.

I have the cursor legend the way I want it, with two Y-values (I can live with two X values, as well).

(My code is using a cursor-moved event to move the cursor on the other plot). 

 

Cursor1.PNG 

 

 

However, when I go to move the cursor, either by dragging it, using the advance button, or by program, LabVIEW decides that it's going to ignore what I wanted and set things up it's own way:

Cursor2.PNG 

 

It apparently hits the "+" button for me.  I can set it back, but every time I move the cursor, it gets set to LabVIEW's way.

 

As far as I can tell, the + / - things are pointless anyway, they don't do anything useful except make the legend take up more space than it needs to.

 

The help text doesn't even mention the things, as far as I can see. 

 

Can anyone tell me how to disable them, or at least how to keep them from changing out from under me? 

 

Message Edited by CoastalMaineBird on 06-24-2009 01:09 PM
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 1 of 3
(2,644 Views)

You can set up digital displays. That way you don't have to let Labview do anything for you. This is the way I like it. Here is an example of what I am talking about.

 

Example.gif

If you use the Crsr List function you get everything inside of the array of clusters. Take a look it may do more for you than what you even hoped for.

Tim
GHSP
0 Kudos
Message 2 of 3
(2,588 Views)

Well, that's a decent idea, but you don't get the chance to move the cursor by typing a value into the X POSITION box.

 

I suppose you could make that work, too, with your own code, but I didn't want to duplicate functionality that's supposed to be built in.

 

I've ended up using MIXED SIGNAL graphs, and working around the bugs in them.

 

Thanks for your thoughts. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 3 of 3
(2,581 Views)