05-15-2015 08:28 AM
I need to convert a hexadecimal string into a hexadecimal number to use that value as input to a Modbus block .. How is it done?
05-15-2015 09:04 AM
String >> Number/String Conversion palette.
05-15-2015 09:05 AM
The built in function "hexidecimal string to number".
Mike...
05-15-2015 11:28 AM
Note that what you want is to "convert a hexadecimal string into a number", not a "hexadecimal number". The output is a number, stored internally as binary, and the number base isn't specified until it is converted back into a string.
05-15-2015 12:34 PM
@hierromovil wrote:
I need to convert a hexadecimal string into a hexadecimal number to use that value as input to a Modbus block .. How is it done?
Your question is very ambiguous, because all we know is that you have a string and probably want another string.
(The word hexadecimal is a visual format, not an internal representation).
You need to be careful to make a distinction between internal representation and formatting for human consumption.
You could be talking about:
So:
Easiest would be if you could attach a simple VI containing diagram constants of your actual data and what you want out of it.