Front Panel Objects Moving When LabVIEW VI is Run on Another Computer

您所在的位置:网站首页 如何移动电脑软件位置不变 Front Panel Objects Moving When LabVIEW VI is Run on Another Computer

Front Panel Objects Moving When LabVIEW VI is Run on Another Computer

#Front Panel Objects Moving When LabVIEW VI is Run on Another Computer| 来源: 网络整理| 查看: 265

Additional InformationThese troubleshooting options do not apply to the text labels as they are a set size. For text labels we recommend using Ariel (monospace) for the font.

The Maintain proportions of window for different monitor resolutions option resizes the VI so it takes up approximately the same amount of screen space when opened on a computer with a different monitor resolution. 

The Scale all objects on front panel as the window resizes option automatically resizes all front panel objects with respect to and in proportion to the size of the front panel window. Text does not resize because the font sizes are fixed. 

The use of the Maintain proportions of window for different monitor resolutions also applies to dual monitors having different resolutions.  By selecting Maintain proportions of window for different monitor resolutions this will maintain the proportional front panel size with respect to monitor resolution, however the physical size of the front panel will change. 

For instance you have two monitors, the monitor on the left has a higher resolution than the monitor on the right.  You open a VI and select File»VI Properties»Categories Drop-down»Window Size then select Maintain proportions of window for different monitor resolutions.  If you now move the front panel from left to right you will notice that once the front panel enters the right monitor the physical size will increase, but the proportions remain the same.  This is a perfect example of how to use the property of Maintain proportions of window for different monitor resolutions.

Also before using dual monitors, please check to ensure that the graphics card in the computer supports dual monitors and has the appropriate downloads to ensure that the dual monitors behave correctly.

Some PCs may have the display set to enlarge text and other items. In Windows this can be found at Control Panel >> Display. Make sure the development PC and deployment PC are set the same.

Monospace Font, also called a fixed-pitch, fixed-width, or non-proportional font, is a font whose letters and characters each occupy the same amount of horizontal space. This contrasts with variable-width fonts, where the letters and spacings have different widths. The fonts can grow or shrink depending on the physical size of the monitor you are viewing them on. This can give your Front Panel the appearance of having shifted when in reality it is simply the font causing things to shift and not the Front Panel objects. 

Also, you may encounter this issue if you have any hidden controls or indicators. Make sure before compiling the executable that you know whether or not you have any hidden objects on the front panel. If so, be aware that they can overlap or cover front panel objects when you programmatically unhide them.

There is a small possibility that the settings that you see under VI properties do not reflect the reality. Please try unchecking and checking the settings again, to ensure you are using it as intended.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3