09-11-2014 06:23 PM
I have a problem following an upgrade from LV 2011 to LV 2013.
Many of my VIs in my project are set to hide menubar and toolbar in VI settings as well as setting the size and position of the front panel. Following updating VIs to LV2013, their size isn't right upon runnig the VI.
Upon running, the VI front panel come up to the size of the panel plus the size of the menubar and toolbar, but neither of them actually show up, rather where they would be is transparent to whatever is behind that window or it still appears as the toolbar, but it's really not there in function despite it still showing on the screen (can't click on it and have it do anything). This is the same for VIs with or without title bars.
I've discovered two workarounds:
(1) in VIs where I have it set to allow window resizing, I can simply resize the window, and all the garbage space on top (between panel and title bar) goes away and then everything works/looks fine.
(2) upon VI launch I read via a property node the front panel bounds, then immediately write that back into that same property.
I really don't want to have to do #2 and write code into dozens of VIs, but rather understand the problem and solve it in a better way.
Any thoughts about how I might approach this problem in another way?
Thanks!
09-12-2014 01:11 AM
Hve you tried setting the resizing the window when VI runs from VI properties option?
YOu can set it to "Maximized" so that when the VI runs , VI front panel appears in the maximized state.
09-12-2014 06:54 AM
This sounds a lot like a bug that happens when you set the panel size to something that is less than or equal to the "minimum panel size". The minimum panel size is a VI property you can get to in the VI Settings. Try setting those to (0,0).