Cursor Legend not aligned correctly

This is a discussion on Cursor Legend not aligned correctly within the labview forums in Programming Languages category; 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. untitled6.PNG: http://forums.ni.com/attachments/ni/.../untitled6.PNG...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-12-2008, 04:10 PM
Mike415
Guest
 
Default 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.


untitled6.PNG:
http://forums.ni.com/attachments/ni/.../untitled6.PNG
Reply With Quote
  #2  
Old 08-12-2008, 04:40 PM
TonP
Guest
 
Default Re: Cursor Legend not aligned correctly

Hi Mike, can you find out if the thing is related to these two bugs?<a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=297355&amp;que ry.id=124359#M297355" target="_blank">Re: XY graph cursor position bug</a>

CAR ID 119407<a href="http://forums.ni.com/ni/board/message?board.id=170&amp;view=by_date_ascending&am p;message.id=338747#M338747" target="_blank"> property node incorrectly placing cursor</a> (with a workaround) The ID is not on the <a href="http://zone.ni.com/devzone/cda/tut/p/id/7731" target="_blank">bug-fixes list for 8.6</a>, or on <a href="http://zone.ni.com/devzone/cda/tut/p/id/7324" target="_blank">the known issues list</a>. Ton
Reply With Quote
  #3  
Old 08-12-2008, 05:10 PM
Mike415
Guest
 
Default Re: Cursor Legend not aligned correctly

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


untitled222.PNG:
http://forums.ni.com/attachments/ni/...ntitled222.PNG
Reply With Quote
  #4  
Old 08-12-2008, 05:40 PM
Mike415
Guest
 
Default Re: Cursor Legend not aligned correctly

Right now I have just added the multiplier*2 to the x position to get it mostly on track.&nbsp; But a fix would be nice. Thanks
Reply With Quote
  #5  
Old 08-13-2008, 01:10 PM
Bob_H.
Guest
 
Default Re: Cursor Legend not aligned correctly

Hello Mike,

&nbsp;

It looks like this issue is similar to the issues that Ton posted links
to.&nbsp; This issue with the Cursor.PosX has been documented to R&amp;D here
at National Instruments under the CAR ID 119407.&nbsp; The
listed work around for this issue is to change the Cursor.PosX to Cursor.Index
and the problem should be fixed.&nbsp; Can you verify that this works for
you?&nbsp; 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.&nbsp; This is set to be added to the Know Issues list but has yet to be
updated yet.&nbsp; However, I have verified that R&amp;D knows about this issue
and is working to resolve it in future versions of LabVIEW.&nbsp; I do
apologize for the inconvenience of this issue but please try the work around
and let me know how that works for you.&nbsp; I hope this helps!
Reply With Quote
  #6  
Old 08-13-2008, 01:40 PM
Mike415
Guest
 
Default Re: Cursor Legend not aligned correctly

HiI 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.&nbsp; I assume PosY is the cause.&nbsp;Mike &nbsp;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 AMMessage Edited by Mike415 on 08-13-2008 10:20 AM
Reply With Quote
  #7  
Old 08-14-2008, 06:10 PM
Bob_H.
Guest
 
Default Re: Cursor Legend not aligned correctly

Hello Mike,

&nbsp;

Can you create a simplified example of your program and post it here?&nbsp;
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.&nbsp; It will
be much more difficult to try to debug this issue unless we are able to break
it down into a smaller version.&nbsp; If you have any questions while trying
this please just let me know and I will assist you to the best of my ability.

&nbsp;&nbsp; &nbsp;
&nbsp;
Reply With Quote
  #8  
Old 08-14-2008, 06:40 PM
Mike415
Guest
 
Default Re: Cursor Legend not aligned correctly

I wont have access to the program until Monday, but Ill see what i can do.&nbsp;Mike
Reply With Quote
  #9  
Old 08-15-2008, 03:10 PM
Bob_H.
Guest
 
Default Re: Cursor Legend not aligned correctly

Thank you Mike!&nbsp; Please let me know if you have any questions when implementing this next week and I will see what I can do to help.&nbsp; I look forward to hearing back from you!&nbsp; Have a great weekend!
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 09:54 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.