Vladimir Posted February 9, 2006 Report Share Posted February 9, 2006 Hi all there, I have very simple problem - I mean... I have TopVi with Sub Panel. In Sub Panel SubVi will be shown. I want align one of SubVI control to upper-left corner in Sub Panel. I can obtain Position property of this control, but what next ? I trying to set SubVI->FrontPanel->Position property, but with unexpected result. I mean this is not the right way or I miss the point. Why I need this: I want to have code where saving SubVI front panel position does not have influence to TopVi look. best regards, Vladimir Quote Link to comment
Vladimir Posted February 9, 2006 Author Report Share Posted February 9, 2006 This is my test application. It works fine only if SubVI is saved with coordinates [0,0] in upper left corner. vladimir. Download File:post-3852-1139502630.zip Quote Link to comment
didierj Posted February 10, 2006 Report Share Posted February 10, 2006 I don't have LV8, so I can't look into your code. But usually to set an alignement on a panel use the property "Front Panel Window>Origin". It sets the coordinate you supply to the top-left corner. Quote Link to comment
Vladimir Posted February 13, 2006 Author Report Share Posted February 13, 2006 I don't have LV8, so I can't look into your code.But usually to set an alignement on a panel use the property "Front Panel Window>Origin". It sets the coordinate you supply to the top-left corner. Seems logic, but here is no property caled Origin in Front Panel reference... :headbang: Quote Link to comment
didierj Posted February 13, 2006 Report Share Posted February 13, 2006 Seems logic, but here is no property caled Origin in Front Panel reference... :headbang: Did NI remove this (IMHO) useful property in LV8? Quote Link to comment
Yair Posted February 13, 2006 Report Share Posted February 13, 2006 Did NI remove this (IMHO) useful property in LV8? It seems more likely to me (from his descriptioin) that Vladimir tried to wire the Panel reference to a property node instead of looking through the Front Panel Window properties. Quote Link to comment
Vladimir Posted February 14, 2006 Author Report Share Posted February 14, 2006 Did NI remove this (IMHO) useful property in LV8? and whats next ... Quote Link to comment
didierj Posted February 14, 2006 Report Share Posted February 14, 2006 and whats next ... Another question: Do you have the "pro" Version of LV (not base or full)? Quote Link to comment
orko Posted February 14, 2006 Report Share Posted February 14, 2006 and whats next ... NI's solution, since LV8.0 introduced multiple "panes" to the FP: http://digital.ni.com/public.nsf/allkb/D54...&node=133080_US Joe (orko) Quote Link to comment
Vladimir Posted February 15, 2006 Author Report Share Posted February 15, 2006 NI's solution, since LV8.0 introduced multiple "panes" to the FP:http://digital.ni.com/public.nsf/allkb/D54...&node=133080_US Joe (orko) :thumbup: Very Nice, now working well, Thank you Joe ! Working wersion is included:Download File:post-3852-1139983403.zip Quote Link to comment
orko Posted February 15, 2006 Report Share Posted February 15, 2006 :thumbup: Very Nice, now working well, Thank you Joe ! Working wersion is included:Download File:post-3852-1139983403.zip Glad it worked out. I'll file it away to look at when I upgrade to 8.0 (hopefully next month). I assume this would be one of those times where you won't be able to save to a previous version (7.1), since it uses version specific pane properties(?) Joe (orko) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.