03-30-2016 01:44 AM
Hello every one...
Iam suffering a lot about ASCII TO number conversion...Actually i have a swr instruments it sending data through RS-232 protocol but the problem is iam receiving ASCII data but i would like to see as numeric.....plese help me
03-30-2016 01:54 AM
Hi
Just typecast the ASCII value to a U8 numeric.
It's found in the "data manipulation" palette... You can use it to convert from one datatype to any other depending on the type input, so be careful to connect the correct type definition!
Hope this solves....
Kudos Welcome
Regards,
Santhosh Joel
03-30-2016 02:03 AM
THANK YOU...
03-30-2016 02:07 AM
If your issue is solved you can mark it as the solution for your questions 🙂
Kudos 😄
03-30-2016 04:35 AM
well, usually the rs232 data stream is coded in a hopefully known way 🙂
the vi to convert a string to byte array is found in the string conversion palette.... however usually the scan from string vi is a better way ...
If you run into problems post some sample data and explain the data format.
03-30-2016 05:09 AM
@hanumeshbujji wrote:Hello every one...
Iam suffering a lot about ASCII TO number conversion...Actually i have a swr instruments it sending data through RS-232 protocol but the problem is iam receiving ASCII data but i would like to see as numeric.....plese help me
If you are using a string indicator, just right click on it and you can use the Hex view instead of the normal view.