NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

UI Development In LabVIEW causes DPI Issue. Where to put manifest?

Ok so I followed this KB for my exes: http://digital.ni.com/public.nsf/allkb/99EF1FA4A1990A1B862580A5006A3130

 

However, when developing a UI in LabVIEW and I use the run button it somehow resorts the the funky small icons and text.  The window shrinks about 5x smaller than normal.

 

Before run arrow:

BeforeRunArrow.png

 

After Run Arrow:
AfterRunArrow.png

 

Any ideas on how to fix this? Normally I wouldn't care because I can embed the manifest into my exe, but when I'm teaching and demoing it doesn't look great.

 

Thanks in advance,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 1 of 9
(4,453 Views)

Hi ~jiggawax~,

 

I'm not sure if you have tried the following, but it sounds kind of similar to this font sizes issue. 

 

Why Does the Font Size Change When running a LabVIEW Executable in Windows: http://digital.ni.com/public.nsf/allkb/2F11E12E565D2DD5862579490062827D

 

Does this have any effect?

 

Thanks,

 

ShaneK

National Instruments

0 Kudos
Message 2 of 9
(4,396 Views)

That was a good attempt but unfortunately the text is a small part of the issue.  The entire window goes to about a 10th of the normal size.  The screen grabs in my original post don't show this though.

 

Thanks,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 3 of 9
(4,390 Views)

Have you also tried the manifest for LabVIEW.exe like in that article as well as your executable? 

 

Thanks,

 

ShaneK

National Instruments

0 Kudos
Message 4 of 9
(4,372 Views)

Yes, otherwise LabVIEW would look funny when I was developing.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 9
(4,364 Views)

One of my coworkers was able to use the TestStand UI on a high resolution monitor and didn't see the same display. Would you be able to attach your code so I can try to replicate this on my end?

 

Thanks,

 

ShaneK

National Instruments

0 Kudos
Message 6 of 9
(4,338 Views)

You can just use the source code for the full-featured or simple UIs that ship with TestStand.  I verified they do the same thing.  Does your co-workers PC have the DPI issue.  They'd see it on a whole slew of applications.

 

 

Thanks for the help on this.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 7 of 9
(4,335 Views)

BTW- it only occurs when you are developing in LabVIEW and click the run arrow.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 8 of 9
(4,334 Views)

They were able to run the TestStand UI examples without running into the DPI issue. It looks like you are using LabVIEW 2016? Is this also with TestStand 2016?

 

Thanks,

 

ShaneK

National Instruments

0 Kudos
Message 9 of 9
(4,284 Views)