LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ASCII values

Hello,

I am using the serial port of my computer to read data from device. This
works fine. However, I can not manage to convert the characters in their
ASCII code.

Does anybode know how to do this?

Thanks in advance.

Regards,

Jan Jaap
0 Kudos
Message 1 of 3
(3,259 Views)
In article <7kkujs$2p5ea$1@reader3.wxs.nl>,
"Jan Jaap Krikke" wrote:
> Hello,
>
> I am using the serial port of my computer to read data from device.
This
> works fine. However, I can not manage to convert the characters in
their
> ASCII code.
>
> Does anybode know how to do this?
>
> Thanks in advance.
>
> Regards,
>
> Jan Jaap
>
Hi,

use the "String to Byte Array"-function (can be found in
Numeric->Conversion) to get your string converted into an array of
bytes, which contains the corresponding ASCII values.
Hope that helps.

Bye,

Alexander


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Message 2 of 3
(3,259 Views)
Alexander, thank you very much for your opinion about conversion of characters to your correspondent code ascii, it help me so much.

Sincerely,
Wilton Filho
0 Kudos
Message 3 of 3
(3,251 Views)