LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor Legend not aligned correctly

Hi,

For a while LabVIEW has been misplacing the cursor legend bar.  The attached image shows what i am talking about.  If I try to move the cursor or have it placed somewhere (Such as at the top of the peaks) it shifts left a little bit.  It can sometime be corrected a bit by selecting to the left of the cursor.  But it definitely favors the left side of where it is supposed to go.

Thanks

(The red lines on the picture show where the mouse is or where the cursor is supposed to be.
0 Kudos
Message 1 of 20
(4,008 Views)
Hi Mike,

can you find out if the thing is related to these two bugs?
Re: XY graph cursor position bug CAR ID 119407
property node incorrectly placing cursor (with a workaround)

The ID is not on the bug-fixes list for 8.6, or on the known issues list.

Ton


Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 20
(3,999 Views)
Hi Ton,

It may be related.  I attached a picture of the code.  BTW, this has been happening since before I used the property node to place the cursors according to X Values.  I believe it occurred after I used the property node to read the Y Values.

Thanks
0 Kudos
Message 3 of 20
(3,992 Views)
Right now I have just added the multiplier*2 to the x position to get it mostly on track.  But a fix would be nice.

Thanks
0 Kudos
Message 4 of 20
(3,985 Views)

Hello Mike,

 

It looks like this issue is similar to the issues that Ton posted links to.  This issue with the Cursor.PosX has been documented to R&D here at National Instruments under the CAR ID 119407.  The listed work around for this issue is to change the Cursor.PosX to Cursor.Index and the problem should be fixed.  Can you verify that this works for you?  If it turns out to actually be the Cursor.PosY that is the issue please make sure to let me know so I can add that documentation to the CAR.  This is set to be added to the Know Issues list but has yet to be updated yet.  However, I have verified that R&D knows about this issue and is working to resolve it in future versions of LabVIEW.  I do apologize for the inconvenience of this issue but please try the work around and let me know how that works for you.  I hope this helps!

Thanks!
Bob H
Applications Engineer
National Instruments
Message 5 of 20
(3,960 Views)

Hi

I changed the property to PosX to Index and it still doesnt align with the mouse correctly on drag; also it doesn't seem to snap to the peaks anymore as needed.  I assume PosY is the cause.

 

Mike

 

EDIT: I just changed the Index back to PosX and changed the PosY to Index to test and it still keeps the cursor to the left of the mouse.

EDIT: Still does it with BOTH the PosX and PosY changed to Index.

Message Edited by Mike415 on 08-13-2008 10:19 AM
Message Edited by Mike415 on 08-13-2008 10:20 AM
0 Kudos
Message 6 of 20
(3,958 Views)

Hello Mike,

 

Can you create a simplified example of your program and post it here?  From there I will be able to take a better look at this issue and document it correctly if it is a different bug than the one referenced above.  It will be much more difficult to try to debug this issue unless we are able to break it down into a smaller version.  If you have any questions while trying this please just let me know and I will assist you to the best of my ability.

    
 

Thanks!
Bob H
Applications Engineer
National Instruments
Message 7 of 20
(3,934 Views)

I wont have access to the program until Monday, but Ill see what i can do.

 

Mike

0 Kudos
Message 8 of 20
(3,930 Views)
Thank you Mike!  Please let me know if you have any questions when implementing this next week and I will see what I can do to help.  I look forward to hearing back from you!  Have a great weekend!
Thanks!
Bob H
Applications Engineer
National Instruments
Message 9 of 20
(3,912 Views)

I just got in and I cant figure out how Im going to do this.  I uploaded the .llb for now if you wanted to check it out, or do you want me to try to make a slimmed down version without functionality?  I would need help with that most likely :smileyvery-happy:

 

Thanks

Mike

Message 10 of 20
(3,892 Views)