LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application resolution

How can I fit my application to the resolution of any computer.

0 Kudos
Message 1 of 14
(1,350 Views)

Hi Dhruv,

 


@Dhruv1140 wrote:

How can I fit my application to the resolution of any computer.


Are you talking about different monitor/display resolutions?

 

  • Learn about using splitter bars and the pros/cons of automatic scaling in LabVIEW.
  • Learn about providing different VIs (regarding the frontpanel) to fit for different resolutions.
  • Learn about using subpanels to adapt UI to different resolutions/window sizes…
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 14
(1,345 Views)

Are you asking for how to fit a VI window to the screen? Look at VI properties:

thols_0-1681451975709.png

 

If you are asking for something else, please be more specific.

 

Certified LabVIEW Architect
0 Kudos
Message 3 of 14
(1,332 Views)

No here I am asking to change the resolution for my application to the windows PC in which I installed it.

 

0 Kudos
Message 4 of 14
(1,320 Views)

Can you provide any example for this. Because I used splitters but the Font size for number controls like string,numeric doesent not change.

 

0 Kudos
Message 5 of 14
(1,318 Views)

Hi Dhruv,

 


@Dhruv1140 wrote:

Because I used splitters but the Font size for number controls like string,numeric doesent not change.


Using splitter bars does not change any properties of other FP elements within the panes, they just help to design resizable frontpanels!

 

When you want to change properties of FP elements then you need to program that on your own…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 14
(1,313 Views)

Ok that I have tried this but is there any other way to do it.

0 Kudos
Message 7 of 14
(1,296 Views)

@Dhruv1140 wrote:

Ok that I have tried this but is there any other way to do it.


What is "this" and what really is "it"? (we cannot tell which post you are reptying to!)

 

You need to describe exactly what you are trying to do, for example:

 

  • I  have a carefully designed front panel for e.g. a 1920x1080 screen and my friends wants to run it on a computer with a 640x480 screen. How is that supposed to look like?

In general, most front panel elements and fonts are pixel based and don't scale well, so never set them to auto-scale to the pane. Never ever!!! Single elements, such as graphs typically scale well IF (and only IF!) they are in their own pane. That's where the use of splitter bars comes in that has been mentioned.

 

Can you show us a picture of your front panel and explain how things should scale?

 

Here's one mf my examples that uses three panes, each pane scaling in a different way to keep things clean. Works great!

 

altenbach_0-1681484152938.png

 

Message 8 of 14
(1,252 Views)

Hi Dhruv,

whatever computer you want to use. do as shown below.

GRCK5000_0-1681527828390.png

 

change to 100%

GRCK5000_1-1681527888003.png

 

 

 

 

0 Kudos
Message 9 of 14
(1,223 Views)

Here is the screen which I want to fit to 1920X1080 resolution

ss ni forum.JPG

Here I used decorations, buttins,string controls,enum and table. but when I try to fit this to my desired resolution. It streches like 

ss 2.JPG

0 Kudos
Message 10 of 14
(1,214 Views)