LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change text character set

A LV text box displaying characters from a linux terminal, controls characters and the like showing up. Any way to change the character set of the text box?

 

Open any terminal program and all text are printable characters... looking nice.

0 Kudos
Message 1 of 5
(2,581 Views)

This sounds like you want your LabVIEW display to be a terminal emulator. I am not aware of any easy methods to do this.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 5
(2,563 Views)

That is correct, I want a terminal emulator. Several terminal emulator I'm using here set to UTF-8 char set. Not sure if there was some Labview.ini setting to allow this...

 

Looks like an idea for a new LV Indicator...

0 Kudos
Message 3 of 5
(2,549 Views)

I don't need a full fledged terminal, I need the text box to interprets characters using UTF-8 like the a terminal program. 

 

If I set UseUnicode=TRUE in Labview ini, it  enables a context menu "Force Unicode text" on the text Indicator. There is a change in characters after a restart but its obviously not UTF-8.

 

From what I'm reading if I change the Region, Change System Locale, Windows 10 etc., check the box to include UTF-8. Then restart Labview, it should interpret UTF-8. Didn't work either.

 

I need UTF-8 text display or decoder to ASCII Labview textbox. Converters were written before... https://lavag.org/files/file/2-convert-between-ascii-and-unicode/ . 

0 Kudos
Message 4 of 5
(2,488 Views)

@richjoh wrote:

 

 

I need UTF-8 text display or decoder to ASCII Labview textbox. Converters were written before... https://lavag.org/files/file/2-convert-between-ascii-and-unicode/ . 


there's a UTF-8 encoder/decoder within the LabView Unicode Programming Tools

maybe you can use a DotNet RichTextBox Container to display UTF-8 ...?

 


@richjoh wrote:

 

If I set UseUnicode=TRUE in Labview ini, it  enables a context menu "Force Unicode text" on the text Indicator. There is a change in characters after a restart but its obviously not UTF-8.

if you enable unicode, the Labview string is encoded as UTF 16 LE

 

 

 

0 Kudos
Message 5 of 5
(2,469 Views)