10-22-2010 02:54 PM - edited 10-22-2010 02:59 PM
Good Afternoon,
I am using an XY graph with a visible Cursor legend, in LabVIEW 2009. The cursor legend has 5 cursors on it, but due to space contraints, only two can be visible at a time, and you use the scroll bar to see the lower cursors. However, if I update the cursor position, the cursor legend immediately scrolls back to the top, making it impossible to see the lower cursors when updates are happening. I have attached a simplified version that demonstrates this.
Is there any setting I can change that will keep the cursor legend from moving, so that I can maintain any position when updating cursor position? I know I could resize the legend, but my Customer's GUI contraints limit the legend size. I thought that defer front panel updates would work as well, but then the cursors don't move, and if I toggle panel updates Off -Set Position->ON, the problem is still there.
Any thoughts?
Thanks,
Mello
Solved! Go to Solution.
10-22-2010 03:05 PM
Hi Tim,
I have already shut down for the day so I can't check but I would look for a ref to the cursor legend scroll bar or a property called "top visable" or some such thing.
I hope that helps.
Gotta run and get beer before GB starts.
Ben
10-25-2010 01:27 PM - edited 10-25-2010 01:28 PM
Hey Ben,
Thanks for the pointer, but it seems that references to the cursor legend (or any of the palettes) are unaccessible. There are properties to hide or show them, all other items are for values of the cursors themselves.
I am feeling that I am up against having to live with this functionality, but I am wondering if there is something I am missing (along the lines of the Defer Front Panel updates) that affects the global function of the Graph or VI.
Thanks,
Tim
10-25-2010 01:48 PM
Sorry tim.
What I told you can work in LV 7 but not newer versions.
Ben
10-26-2010 02:34 PM
Mellobuck,
The cursor legend does not seem to have many properties to change programmatically. Unfortunately it seems like you need to move things around depending on your constraints.
-Ben J.
10-27-2010 05:00 PM
Well, "You can't get there from here," is an answer, at least I know I found the limits of the functionality.
-Mello
10-28-2010 07:04 AM
@Ben J wrote:
Mellobuck,
The cursor legend does not seem to have many properties to change programmatically. Unfortunately it seems like you need to move things around depending on your constraints.
-Ben J.
Ben,
Can you please explain,
why a function avialable in LV 7 and eralier but missing in the current version is not a bug?
Ben
11-01-2010 03:47 PM
Ben,
I am searching for the functionality you mentioned in LV 7.1. Please point me to the "top visible" property you mentioned.
11-02-2010 07:37 AM
@Ben J wrote:
Ben,
I am searching for the functionality you mentioned in LV 7.1. Please point me to the "top visible" property you mentioned.
See this thread (my reply starts at message # 5) where I wrote;
Sure,
1)right click on the cursor palette and create a reference.
2) Use property node to get ref to ArrElem
3) Use "To more specific" to type cast as a generic cluster.
4) Peoperty node to get "Controls[]" and then index out the cluster element you want to touch.
Now for a follow-up Q.
What are all of the names of the widgets that can show up in a cursor palette?
Ben
and CC replied
First results, published in a hurry, before Ben gives a complete detailled answer, just to grab some stars :
9 : vertical cursor position (pixels, absolute coordinates)
10 : horizontal cursor position (pixels, absolute coordinates)
11
12
13 : cursor name height (pixels)
14 : cursor name width (pixels)
15 : vertical cursor name position (pixels, absolute coordinates)
16 : horizontal cursor name position (pixels, absolute coordinates)
There is probably here a way of
So that functionality used to be there and when the grpahs an charts got converted to LV 8, the developers apparently did not know about that very useful technique (that I have used and is impating Tim in this thread).
So again,
Why is a feature that used to work in LV 7.1 but lacking in post LV 8, not a bug?
quoting Lucy from Peanuts
"Hmmmmmm?"
Ben
11-03-2010 03:05 PM
Re: my query above about why it is no longer available in LV 8 and why the lack of that functionality is not a bug.
I got an update and in my own words...
NI decided that accessing the cursor legend was a bug and fixed it. (ouch).
Ben