LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Special Characters from String Input

Solved!
Go to solution

Hi,

 

I am Currently writing a small Tool grabbing input from a Barcode Scanner which scans a Datamatrix Code.

The Scanner is basically a keyboard emulator, so I want to use a string input in my gui. If I scan the Codes to an Editor such as Notepad++ I will see all the special Characters such as RS, GS and EOT (Ascii 29, 30 and 4). The String (and the Textbox) Control omit these characters which are extremely helpful when parsing the Scanned String.

 

I have tried different Fonts and Character Sets but none of this has been successful so far.

 

Does anyone have an idea?

 

Thank you and Regards,

Michael

0 Kudos
Message 1 of 2
(2,083 Views)
Solution
Accepted by topic author MichaelWerner

Since a colleague delivered a working Idea internally I want to share it here, too:

 

Using EVENT_KEYPRESS and GetKeyPressEventCharacter() solved the issue. It is a little bit more Code to write then just reading the Value from the string-Input after a Commit but it works fine.

Message 2 of 2
(2,065 Views)