09-16-2019 02:07 PM
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.
09-16-2019 02:39 PM
This sounds like you want your LabVIEW display to be a terminal emulator. I am not aware of any easy methods to do this.
09-16-2019 02:47 PM - edited 09-16-2019 02:48 PM
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...
09-17-2019 02:13 PM
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/ .
09-18-2019 04:07 AM - edited 09-18-2019 04:18 AM
@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