Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

String to hex conversion in Lookout

I'm looking for an example code I found some time ago about conversions ASCII-HEX-Decimal in Lookout, but I don't see it.

How to convert strings to Hex and viceversa in Lookout 5.1, using a serial port or not? Any example code still available for this?

Thanks.
0 Kudos
Message 1 of 2
(3,593 Views)
Hi 23r23

Lookout does not have direct method of converting ASCII to decimal or to Hex. However, we do have an example program that shows how
to use the ASCII object to convert between different data types.

Example Program: How Can I Get the ASCII Codes for My String in Lookout?

While this example shows how to convert between string and ASCII data types, you can select the type of data to write and read with the RequestFormat and ResponseFormat datamembers, respectively.
0 Kudos
Message 2 of 2
(3,575 Views)