ettikudiappan
Member
Hi
I got a pressure sensor that sends it's pressure in HEX as ASCII via RS232.
That is the String read from the sensor looks like "Line Press 1A".
The 1A in the string is in Hex and converting it to decimal the pressure value turns out to be 26 PSI.
I need to do this conversion using SLC 500. Any idea on what algorithm to use? By manipulating the string I was able to populate an integer file with the value 1A in Hex. I am unsure of how to proceed further.
Thanks in advance
I got a pressure sensor that sends it's pressure in HEX as ASCII via RS232.
That is the String read from the sensor looks like "Line Press 1A".
The 1A in the string is in Hex and converting it to decimal the pressure value turns out to be 26 PSI.
I need to do this conversion using SLC 500. Any idea on what algorithm to use? By manipulating the string I was able to populate an integer file with the value 1A in Hex. I am unsure of how to proceed further.
Thanks in advance