LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alignment problem in a graph when build

Solved!
Go to solution

I would really appreciate your help.

I am turning around trying to align a legend of a graph.

My application is coded in Labview 2014 in Windows 7. Before it was in XP and older LabVIEW and I had no problem.

I have a user interface with a graph. I made my interface look good. When I build the interface is not the same in the exe version. I have attach a copy of what the interface should look like. I also a copy of the interface in EXE. In the exe image, I have circle the part which is not align. Is their a way to correcte that?

 

Thanks in advance!

0 Kudos
Message 1 of 4
(2,863 Views)

Hi cynt,

 

most often you will need to set FONT properties in the executables INI file. Usually keys like

FPFont="Tahoma" 13
BDFont="Tahoma" 13
appFont="Tahoma" 13
dialogFont="Tahoma" 13
systemFont="Tahoma" 13

do the trick…

(Replace "Tahoma" and 13 with your favorite settings!)

Best regards,
GerdW


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

Not sure if we're having the same problem, but this is what happened to me yesterday:

 

I created a chart from the System Suite, added some channels to the legend by resizing in horizontal direction, named some of them and then made the legend smaller again. After I did this the entire Legend was shifted to the right a couple of cm.



Remember Cunningham's Law
0 Kudos
Message 3 of 4
(2,856 Views)
Solution
Accepted by topic author cynt

I have solved my problem with creating a typedef control with my graphic. When I first open the controle to customise it, I notice that if I try to change something on the graph the legende keep become smaller.  Probably, the size it is in the EXE. So I tried to ajuste de size so that the size do not resize by itself in the customize window. Then with the size adjust, I create the EXE and the size did not change.

 

Hope this can help someone else!

 

Thanks for your help

 

Cynthia

0 Kudos
Message 4 of 4
(2,797 Views)