Does anyone know how to convert an ascii string to the real value? I am taking a hex buffer (42,14,8F,5C) and converting to its ascii equivalent using oscat_basic.BUFFER_TO_STRING. I am now stuck on how to convert this value in its real value (37.140) to display on HMI. Thanks.
Does anyone know how to convert an ascii string to the real value? I am taking a hex buffer (42,14,8F,5C) and converting to its ascii equivalent using oscat_basic.BUFFER_TO_STRING. I am now stuck on how to convert this value in its real value (37.140) to display on HMI. Thanks.
Hi, I am trying to create a CRC via the oscat library and cannot figure it out. I have a reference HEX string as well as the CRC output: Input:05 01 0A 01 02 CRC: 13. This is what I have so far, any guidance would be greatly appreciated.
Hi, I am trying to create a CRC via the oscat library and cannot figure it out. I have a reference HEX string as well as the CRC output: Input:05 01 0A 01 02 CRC: 13. This is what I have so far, any guidance would be greatly appreciated.