It is sometimes required to convert a hexa decimal string, received
over serial port or through some other communication link etc., to
decimal values either for further processing or for display of data.
The following Labview code converts a string containing hexa decimal data (also displayed in hexa decimal format in the string) to decimal format.
This is a simple code and contains following key VIs and functions:
The following Labview code converts a string containing hexa decimal data (also displayed in hexa decimal format in the string) to decimal format.
This is a simple code and contains following key VIs and functions:
- Hexadecimal String (with Hex display option selected from the front panel )
- String to Byte Array Conversion Function
- Index Array Function
- Join Numbers Function
No comments:
Post a Comment