Is it possible to convert Hexadecimal to ASCII characters?

Asked By 130 points N/A Posted on -
qa-featured

Hello there,

As a new user of llabview website, I want to explore everything that goes with this one. I was trying to communicate with HH506R omega thermometer using serial port communication. Then, I decided to use the parameters (such as Parity, baud rate, sto bits) because it's written in  the manual. And luckily, I could write the data from the write string when it responded. But  unfortunately, while returning the data, a framing error showed up. Also, I am not getting the read string in terms of ASCII characters.

It's just a random character which I don't know how to convert into ASCII format. I am using the Basic serial write and read VI from NI. Is there any way to convert the hexadecimal into ASCII characters?

SHARE
Best Answer by anrewbst
Answered By 0 points N/A #108705

Is it possible to convert Hexadecimal to ASCII characters?

qa-featured

Hello Susan Turner!

  • It is not a hard or critical task to convert the code (Hexadecimal to ASCII). You can run the C code on your computer using any software like turbo C . The conversion code is available in the internet. You can easily get it and convert your codes exactly the way you want.
  • Of course, you will get some other conversion codes. There are manual ways to do this, and you will just have to get a table called Hexadecimal to ASCII code. Then, your problem will be resolved.
Best Answer
Best Answer
Answered By 0 points N/A #108706

Is it possible to convert Hexadecimal to ASCII characters?

qa-featured

There is one important thing that you should keep in mind before you try to read your hexadecimal code. If you get random characters, it's a scrap signal, it will never work. Don't worry about what is printed out, you just have to verify your serial port configuration again.

  • Your connections are very important here. Hexadecimal numbers are between 0 and F: 00 0A 15 23. This is an example of hexadecimal code. Strange random characters are spurious signals. You must also verify the “flow control” on your serial port.
  • It must be turned off quite often.

Good Luck.

Login/Register to Answer

Related Questions