03-10-2021 12:09 PM - edited 03-10-2021 12:14 PM
I'm using LabVIEW 2020 SP1. In development mode, the main screen has 3 array columns aligned to each other:
When I run my program, they remain aligned.
When I compile then run the program, they shift vertically and the boxes in 2 outside arrays shorten slightly.
I've tried grouping the 3 together, but that didn't help. I'm not using any code to set the position or size of these indicators. Is there a setting I'm missing to prevent this, or is this a bug?
Thanks,
Ron
Solved! Go to Solution.
03-10-2021 12:22 PM - edited 03-10-2021 12:23 PM
LabVIEW programs are always compiled, even in development mode!
Are you talking about a built standalone applications?
In this case have a look at the font settings. If your front panel contains symbolic fonts, they will adapt to the desktop settings of the OS and can change size, distorting things.
03-10-2021 12:25 PM
03-10-2021 12:59 PM
Couldn't get the same options as that thread shows:
03-10-2021 01:08 PM - edited 03-10-2021 01:09 PM
Yes, I'm referring to the .exe file as the compiled file. The font style in option-environment is set to "application" font and size 18. There are no symbols on the screen.
03-10-2021 01:19 PM - edited 03-10-2021 01:21 PM
"Application" is a symbolic font (Not a symbol font!). In comparison, a named font (e.g. Tahoma") is not a symbolic font. An symbolic font inherits from the current OS and can change unpredictably between systems..
(It seems you don't have VI analyzer license, so you only get a stripped down version that can do simple things. Manually check your controls. Note that the array container, array elements, and text inside the array elements might all differ in font, so you need to dig.)
You could try a "select all" (ctrl+a) on the front panel, then use the font pulldown to e.g. select "Tahoma" or "Segoe UI"
03-10-2021 01:34 PM
Thanks, changed font to Tahoma and .exe run matched development run.
There's yet another cost to LabVIEW Developer? Good grief... There was a time when the full vi analyzer was part of the package.
03-10-2021 02:01 PM
Since you can built executables, you might already have the professional edition (compare here). Maybe you skipped the VI analyzer when installing?
03-10-2021 02:41 PM
Yes, I have the full-blown Pro Development package. And several versions ago, I remember using a feature-rich vi analyzer.
I've just downloaded and installed the vi analyzer toolkit but it won't activate with my license. I searched for the pricing but couldn't find that on NI's site. So I've submitted a support ticket about this. ::: sigh :::