09-24-2008 11:41 AM
The attached VI uses invoke node Convert Pane to Panel Coordinates. It's in LabVIEW 8.2.
It returns 0, 46 when run in 8.2.
It returns 0, 0 when run in 8.5.1, and 8.6.
It returns 0, 51 when I copy everything on the diagram to a blank VI in 8.6.
Look like a bug to me. Did I miss something ?
09-25-2008 01:59 AM
It depends on the position of the scroll bars.
Ton
09-25-2008 09:55 AM
TonP wrote:It depends on the position of the scroll bars.
NO. It's not. The scroll bars was left alone when testing.
09-25-2008 05:01 PM
Hi Zou,
This is not a bug. If you open up your utilted 1.vi in 8.5.1 and scroll up you should see it return 0, 134 if the window isn't expanded. This is because its retriving the position of the pane, which is dictated by the scroll bars.
Regards
09-26-2008 10:26 AM
Andrew,
Thanks for reply.
The problem is that it doesn't retrive the correct position of the pane.
The position of the pane should be the same for different version of LabVIEW if you don't move the scroll bar.
George
09-26-2008 02:20 PM
Hi Zou,
I missunderstood the problem for this one. You are absolutely correct. The vertical origin is off by 46 pixels on 8.2. This was a bug and has been fixed for later versions of labVIEW.
Regards,
09-26-2008 03:28 PM
09-26-2008 03:44 PM
Hi Zou,
Yes the off centered origin issue was solved in 8.5.
Regards
09-26-2008 04:32 PM
I'm not sure we are talking about the same thing.
Every version of LabVIEW, there is an offset from pane to panel. That's because toolbar and menubar are not truly Window Objects. That's OK as long as it's consistant.
The Offset for 8.2 is 46 pixels;
43 in earlier version;
51 in 8.5 & 8.6.
The problem is that the VI created in 8.2, upgraded to 8.5 or 8.6, has a different offset (0, 0) compare to other VIs created in 8.5 or 8.6 (0, 51).
George