LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting a digital font for the labview string indicator is not invalid

Setting a digital font for the labview string indicator, e.g. Let's go Digital, or DS-Digital, either manually or programmatically implemented, is not invalid.

 

111.png

0 Kudos
Message 1 of 7
(1,195 Views)

Are you using a non-English windows?

Can you use NI 7-Seg. font instead?

https://forums.ni.com/t5/LabVIEW/7-segment-LED/m-p/902243/highlight/true#M406875

 

 

George Zou
0 Kudos
Message 2 of 7
(1,153 Views)

Yes, but it's the same after I changed to ni-labview-2023-community version.

 

I also install NI 7-Seg. font  and no any difference,thanks!

0 Kudos
Message 3 of 7
(1,092 Views)

I'd set the text value and than select it...

Message 4 of 7
(1,075 Views)

Text.text-property? Shouldn't you set the Value property? Also, as Wiebe said, set the text before selecting it. (property nodes execute from top to bottom)

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 5 of 7
(1,057 Views)

Zhang's code works fine on my computer (LabVIEW 2018SP1 64bit Windows10 Enterprise) if using NI7SEG as font name.

For a string ctrl, Text.Text sets the string value correctly.

 

But if the string is set to Force Unicode Text, the display is messed up, unless I use HEX 3200 3000 3200 3300 instead of ASCII 2023.

 

George Zou
Message 6 of 7
(1,040 Views)

@zou wrote:

Zhang's code works fine on my computer (LabVIEW 2018SP1 64bit Windows10 Enterprise) if using NI7SEG as font name.

For a string ctrl, Text.Text sets the string value correctly.


It 'works' for me too, even with DS-Digital as font.

 

I'd still set the text before selecting it, but it does have some effect if I don't (even if the string is empty)..

 

As it is it works, but not entirely as expected. For the given text, everything looks Ok. However, if the string is empty, selecting 0-10 and than changing the font actually changes the default font. So, all text entered will have the new font. That might not be the desired behavior.

 

As only 0-10 is selected, I'd set the text and than change the font, so, for longer string, only 0-10 changes font.

wiebeCARYA_0-1698161981008.png

 

Message 7 of 7
(1,036 Views)