LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

adjusting the size of the "pop up" sub vi in the main vi

I am trying to reduce the size of the "pop up" sub vi in the main vi. If I push everything upwards, the info downwards is lost. Similarly the side info is lost. How to adjust the size and yet keep all the info. I am using LV6.0. I have attached the file concerned.
0 Kudos
Message 1 of 9
(4,054 Views)
I am not sure I completely udnerstand the question. You can always shrink the various controls and re-arrange them if you would like to change the look of the front panel.

However, something that may be easier is to hit Ctrl-i to bring up the VI Properties. Then select Window Size and click on the "Scale all objects on front panel as the window resizes" checkbox. Now when you shrink the front panel, the controls will all reshape for you automatically.
Message 2 of 9
(4,037 Views)
I'm with Evan on this one. I don't know exactly what you are asking, but the resize front panel objects might be what you are looking for. Why can't you just change the Subvi to be the exact size that you want before you execute it? It sounds like we need a little more information to understand your problem.
0 Kudos
Message 3 of 9
(4,022 Views)
I have a MAIN vi. When I launch the main vi, a "dialog box" appears asking for information. I cannot edit it nor can I fill in the "dialog box" because it is off the screen. Nor can I abort as the abort button is off screen. I am stuck. However I manage to edit and bring the abort button towards the centre. Thus, now I can abort. However I still cannot fill in the"dialog box" and thus cannot run the program. I have attached a new doc file regarding this. I am using LV6
0 Kudos
Message 4 of 9
(4,006 Views)
I'm still confused. Are you not able to change this vi simply because you don't have control of the source code? If you can edit the source of this pop up, it sounds like you might need to modify the vi properties. You can do this with a property node and changing the panel bounds and origin as shown in this screen shot.
0 Kudos
Message 5 of 9
(4,003 Views)
It sounds like whoever wrote the pop-up most likely had a dual monitor system or had a different resolution then your system. Either way they saved it way to the right, so open the VI and move it to where you want and save it. The VI should then appear whereever you saved it.

If it doesn't open there again, then the code is most likely moving it using code similiar to Todd_SD's example. So you will need to modify the pop-up code like Todd suggested.

If you need help you can post the pop-up VI, and we can look at it.
Message 6 of 9
(3,990 Views)
I have attached the "pop up" vi. How small can I make it? How to make sure all the info appears in the "pop up"? How to set the size of the "pop up"?
0 Kudos
Message 7 of 9
(3,963 Views)
What exactly don't you understand how to do? You can resize controls and the front panel with the postion tool (when the cursor looks like an arrow). You've got a lot os space between contols and height of many of your controls is much larger than the font size. The size that you have it now is 780x463. If your goal is 640x480, that should be easy with as few elements as you have. When things get really busy on a front panel, use a tab control.
Message 8 of 9
(3,937 Views)
There is obviously a misunderstanding here.

You have full control over the front panel and you can make all the controls as small or large as you want. In addition, you can also place them wherever you want. It is up to you as the designer to place them how you want. If you want then all to be a few pixels by a few pixels, LabVIEW will allow that. Obviously, a string control that is 3 pixels wide and 2 high is unusable, but you can do it. In addition if you wanted all the controls to over lap that is fine, but again it will most likely be unusable for your user.

If your question is the mechanics of moving and re-sizing controls, LabVIEW works the same as most products. You need the arrow tool, which you can get from the tools pallette (Windows>> Show Tools Pallette). With that tool you simply click on the control and move it where you want it. To resize it you hover over the borders of the control until you see the little resize squares and then re-size away. This is the same as how you would re-size an object in Word etc.

If you are simply asking for some examples based on the front panel you attached, we on the forums can move them around and give you examples but we don't know what it is you as the designer or your "customers" want. Therefore anything we do is a shear guess and unlikely to be what you really want. By far the best option is for us to help answer for you the how so that you can create the front panel that you want.

So can you re-phrase the question or help us understand what it is you want?
0 Kudos
Message 9 of 9
(3,907 Views)