Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

How to separate a HEX-String in different parts?


MichiEawag Apr 6, 2017 01:42 PM

I`m trying to use a RBR TR-1050 logger as a real-time sensor.

The output from the sensor is like "5E3621".

If I use HexToDec it looks at this string as one Hexadecimal representation of a number but actually the number is "5E" "36" "21".

Does anybody has an idea how to split this string? There are no delimiters in between the single numbers.

Hope someone understands my issue and thanks for your help!

Best wishes

Michael


JDavis Apr 6, 2017 06:47 PM

The Mid instruction is probably the easiest way to pull two characters out of a string.

Log in or register to post/reply in the forum.