LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to resize the .exe files

hello everyone,

                     How to resize the .exe file so that it can run with the same resolution on any screen?

when the program runs, it shows correct size, but when I stop the .exe, the screen simply becomes very big so that the operator cannot see the close button...

 

Please help.

Now on LabVIEW 10.0 on Win7
0 Kudos
Message 1 of 10
(9,689 Views)

My suggestion will be:

1) Go to original VI

2) On front panel, right click on VI icon at right top corner

3) Click VI properties

4) Inside VI properties window select category as window size .. adjust as per requirement and click for rest two option down ..

5) same as fourth steps adjust run time position also..

6) save it

7) rebuild the exe

 

Thanks HS

0 Kudos
Message 2 of 10
(9,678 Views)

What do you mean by when you stop the exe you cannot see the close button? If you stop the exe why don't you just have it quit?

 

0 Kudos
Message 3 of 10
(9,673 Views)

I mean the VI size is that of the window size, but when I hit the stop button, the window size just enlarges, so much that half of the waveform chart is out the screen, i have to scroll the

screen to see the remaining part

Now on LabVIEW 10.0 on Win7
0 Kudos
Message 4 of 10
(9,659 Views)

Well, are you programmatically setting the size of the window? What are your settings in the VI's Properties for the window size? We don't have your code so we don't know what you did.

0 Kudos
Message 5 of 10
(9,648 Views)

Well consider my above steps if you are not changing window size dynamicaaly inside program ...

0 Kudos
Message 6 of 10
(9,626 Views)

Do you mean that the windows titlebar and/or menu bar appear once the vi or exe stops?

If so, you can change the settings. Go to File menu, VI properties, window appearance and have a look at the settings for 'Window has title bar', 'Show menu bar' and 'Show toolbar bar when running'.

 

Experiment with these settings - they can result in the window size changing when a vi or exe completes. To change the exe you will need to re-compile the vi with the updated settings.

 

 

Ian

0 Kudos
Message 7 of 10
(9,610 Views)

I did, and i got everything to work 🙂 thank you 

Now on LabVIEW 10.0 on Win7
0 Kudos
Message 8 of 10
(9,598 Views)

Hey CrackJack,

 

we would be happy if you share the solution with us also ..

 

Thanks

 

BR, HS

0 Kudos
Message 9 of 10
(9,594 Views)

@ Ian, Actually, the laptop on which I programmed the code was a 15" screen, and the laptop on which the

exe was running was a 13.3" laptop... Due to the difference in sizes, the front panel kinda automatically resized

when the exe was stopped...

 

I then figured out the various settings as you mentioned here, and then, got everything to work, reduced the font size on the VI front panel, to make sure everything fits into 13.3" laptop screen. 

 

thanks a lot for the help 

can anyone please suggest me the problem I had posted here, it would be of great help 

http://forums.ni.com/t5/LabVIEW/Required-help-with-writing-to-a-file-urgent-plz-help/m-p/1264530#M52...

 

I DON'T HAVE THE CODE RIGHT NOW ON THIS LAPTOP, I CAN POST IT ON MONDAY, SORRY about that

Now on LabVIEW 10.0 on Win7
0 Kudos
Message 10 of 10
(9,593 Views)