LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

front panel display

Hi,
After generated an installer and installed it on a computer, and then run the .exe file. I noticed that some icons and buttons on the front panel have changed shape and size ! And I did remember to go to VI properties>Window Size to select all options there before building executable.
What went wrong ? How would I fix that problem ?
Thanks
dphan128
0 Kudos
Message 1 of 8
(3,418 Views)
Did you install the run time engine? What version of LabVIEW are you using?


Perhaps the computer you've installed it on has a different system font. If you're using this font, all buttons will reshape to fit the text.


Regards,


Wiebe.
0 Kudos
Message 2 of 8
(3,392 Views)
You may want to check the option like in thew attached pic in the VI Properties dialog.
- Partha ( CLD until Oct 2027 🙂 )
Message 3 of 8
(3,384 Views)
I 'm sure I'm not the best in Labview but I try to answer to this question.

Did you use controls of the "dialog control"? This controls depends on the "windows"used. The shape and size can be modified.

Emeric
0 Kudos
Message 4 of 8
(3,379 Views)

Wiebe,

As a side note, I'd like to remind you that the RTE gets installed when the EXE is installed from the installer package.

- Partha ( CLD until Oct 2027 🙂 )
Message 5 of 8
(3,373 Views)
You can make an installer without including the run time engine. Perhaps 8 gives you a warning when the rte is not installed, older versions might not (never actually tried it).


But that is not the only way to get an exe to a computer. One could try to simply copy the exe to a computer. If you have LV5.1 (or 6), you can copy the exe and the runtime engine dll to a computer, and it would work.


In 7.1 you can make a exe run by copying all the rte dll's, but all frontpanel components look wrong. That's why I asked.


In >8 running a LV exe without installing the runtime is very difficult, if possible at all.


Regards,


Wiebe.
0 Kudos
Message 6 of 8
(3,349 Views)

Hi all,

I got it now. What I did was going to VI Properties>Window Run-Time Position and played with all options until I found the best fit.

Thanks for all suggestions

dphan128

0 Kudos
Message 7 of 8
(3,341 Views)


@dphan128 wrote:
I got it now. What I did was going to VI Properties>Window Run-Time Position and played with all options until I found the best fit.

This will not cure the problem you were describing in the first post "I noticed that some icons and buttons on the front panel have changed shape and size". You have a theme mismatch between the two computers.

You should also "unselect" all options in the windows size properties of the VI, especially if the two machines have different monitor resolution or aspect ratios (e.g. wide screen vs normal.).

If the second computer is e.g. set to "large fonts" in the display properties, everything will mess up again.

See also: http://digital.ni.com/public.nsf/allkb/9F491EF651C206DA86256F15004B73B6

 

0 Kudos
Message 8 of 8
(3,330 Views)