From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Ascii code of a string

Solved!
Go to solution

Hello to everybody,

 

I need to get the ascii code of a character, and i don't find the appropiate function to do it.

 

For example, i receive a string like this one: "6T8OP X" --> and i want to transform it to this: 54 84 56 79 80 32 88

 

Note: I'm using Labview 8.2

 

Much thanks to everyone!

Much thanks for your time and dedication!
0 Kudos
Message 1 of 4
(6,273 Views)
Solution
Accepted by topic author Output

Hi Output,

use the "string to byte array" function.

 

Mike

Message 2 of 4
(6,266 Views)

OK Mike Thanks!

Much thanks for your time and dedication!
0 Kudos
Message 3 of 4
(6,259 Views)

Dear Output,

 

Please mark MikeS81 post as solution to your problem, so that other people looking for same kind of information will get more benefitted by this. You can do this by clicking on "Options" menu located at the top right corner of MikeS81 post and select "Solution". Hope you understand.

 

Also give some kudos to MikeS81 if you appreciate his help. 

 

Thanks,

Mathan

0 Kudos
Message 4 of 4
(6,235 Views)