LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Decoding non printing characters

Solved!
Go to solution

I am working with a VI that invokes a telnet session. The responses come back in multiple line formats. What's a quick way to translate the non-printing characters so I can see what to use for delimiters? Using platform dependent EOL does not work which I expected since this data is coming straight from the UUT. 

 

Thanks,

 

jvh

0 Kudos
Message 1 of 4
(2,763 Views)
Solution
Accepted by topic author jvh75021

@jvh75021 wrote:

I am working with a VI that invokes a telnet session. The responses come back in multiple line formats. What's a quick way to translate the non-printing characters so I can see what to use for delimiters? Using platform dependent EOL does not work which I expected since this data is coming straight from the UUT. 

 

Thanks,

 

jvh


I will noramlly put the data in a string indicator and set it for either slash code or hex display. If that gets to hard to read, cast the string as an array of bytes and display that.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 4
(2,756 Views)

Took me a minute or two to find it under properties, but back slash character representation is the trick!

 

Thanks.


@Ben wrote:

@jvh75021 wrote:

I am working with a VI that invokes a telnet session. The responses come back in multiple line formats. What's a quick way to translate the non-printing characters so I can see what to use for delimiters? Using platform dependent EOL does not work which I expected since this data is coming straight from the UUT. 

 

Thanks,

 

jvh


I will noramlly put the data in a string indicator and set it for either slash code or hex display. If that gets to hard to read, cast the string as an array of bytes and display that.

 

Ben


 

0 Kudos
Message 3 of 4
(2,736 Views)

 


@jvh75021 wrote:

Took me a minute or two to find it under properties, but back slash character representation is the trick!


Just right-click on the control/indicator and select the display mode. Smiley Wink

 

Message 4 of 4
(2,733 Views)