LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor Legend manipulation in LV 8.5

Our software has over 1000 users and we are releasing a new version of it soon done in LV8.5.  The new cursor legend is giving us a headache.

 

I need to do the following things:

1)Not have a mult-line cursor display when a cursor is associated with a plot.  Right now, we have:

-  Cursor 0

   |-----  Plot 0     X   Y

For screen real estate purposes, we would like to have just:

Cursor/Plot 0     X   Y

 

This is what a free cursor looks like, but we need it to look like this while tracking a plot

 

2) If we can't have a single line cursor, we need to leave the cursor expanded and not allow the user to minimize it (when it is minimized, they can't manipulate  the X value, unless someone knows a workaround for that).  We have been successful at covering over the +/- with a decoration in some instances, but it presents problems when the window is resized.  Is there a way to programatically expand the cursor?

 

3)  How can we manipulate the precision of the cursors?  Currently, it seems like we're stuck with 1 digit of precision.  How can we increase that?

0 Kudos
Message 1 of 5
(2,987 Views)

Thomas,

 

I'm am kind of confused by your problem. Though my cursor legend is multi-line, I can still manipulate the X value when it is minimized. I will attach a VI that shows that. The other solution I have is to create two property nodes that display the value of the X and Y of the cursor. This way, you do not even have to have the cursor legend (meaning the user has no control over what is shown) but instead, it just shows the values in a numeric indicator. You can test this by right clicking the graph and deselecting the cursor legend from visible items.

 

I hope this helps you some!

Chris Van Horn
Applications Engineer
0 Kudos
Message 2 of 5
(2,964 Views)

I can't manipulate the cursor X when it is minimized in that example.  Neither can my co-workers, we're all using LabVIEW 8.5.1.

 

Just to make sure, we're talking about clicking on the number in the X column with the Cursor 0 minimized and typing in a new number.  I can only do that when I expand Cursor 0.

0 Kudos
Message 3 of 5
(2,958 Views)

Ahh, that was a misunderstanding on my part. I thought you meant move the cursor with your mouse, as opposed to typing something in. I can't manipulate it with typing when it is minimized either. However, if you change the the property node for the X value to All Write instead of Read, you can create a control and manipulate the location while the program is running. 

 

The new attached VI shows how to do this without using the cursor legend at all. The X value is a control (you can change it while the program is running) and the Y value will give just that: your Y value at the corresponding X value.

 

Sorry for the confusion.

Chris Van Horn
Applications Engineer
0 Kudos
Message 4 of 5
(2,955 Views)

Yeah, this is pretty much what NI has said in the past.  That cursors are less useable now, and that they suggest hiding the cursor pallet and making your own.  We're trying to avoid that because there are so many places in our code where this comes into play, and we'd have to figure out how to work out the updating of the controls, and the complications that come without a cursor pallet (control over cursor looks, bring to center, etc..)

0 Kudos
Message 5 of 5
(2,947 Views)