Hi all,
I have a problem with trying to resize and position my VI. What I want to do is use data from the screen size and another VI to create the size and position of another VI so that I can display them next to each other, no matter what the screen resolution is. However if I try to set the bounds of the VI window or panel, I always get an error and although the window ends up in the right position, the size is not correct and changing the input values to get the size (right/bottom) does not seem to do anything.
I have added three screenshots. The error2.PNG is of the error that occurs, vi-bounds2.PNG of the block diagram code that I use. It kinda works if I link up the clear errors vi, but I think this is not the way to go. vi-bounds-noerror2.PNG is of code from another VI which does not lead to any errors. I do not see the difference however, because I tried setting the window bounds as well as the panel bounds but the error stays the same.
I hope someone can help me!
Thanks, Steph.
Message Edited by StephK on
02-12-2008 07:02 AM