From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Hexadecimal String to Number (G Dataflow)

Last Modified: August 31, 2018

Converts the characters 0 through 9, A through F, and a through f in a string to a hexadecimal integer.



The string that you want to convert. This input can also be any data type that contains only strings, such as an array or cluster of strings.



The number of characters into the input string at which this node begins its operation.

The offset of the first character in the input string is 0. If offset is beyond the end of the input string, this node returns an empty string.


A character refers to a code point, a numeric unit between 0 and 10FFFF16, defined by the Unicode standard for encoding. For more information about code points, research Unicode.

Default: 0



A numeric value whose representation determines the representation of number.

Default: 32-bit unsigned integer


offset past number

The index in string of the first character following the number.

If string is an array of strings, offset past number reflects the offset within the last string.


A character refers to a code point, a numeric unit between 0 and 10FFFF16 that is subscribed meaning by the Unicode standard for encoding. You can research Unicode for more information about code points and other units of meaning for encoding.



The result of converting string into a number. The structure of number matches the structure of string. For example, if string is an array of strings, number is an array of numbers.

If the input string represents a number outside the range of the representation of number, number is set to the maximum value for that representation.

The following table shows how the values of string, offset, and default affect offset past number and number.
string offset default offset past number number Comments
f3g 0 0 2 243 g is not a valid hex character, so conversion stops there.
–30 0 0 0 0 Negative numbers are not permitted for hex.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an optimized FPGA VI)

Web Server: Supported in VIs that run in a web application

Recently Viewed Topics