Table Of Contents

Scan Value (G Dataflow)

Last Modified: January 9, 2017

Converts the characters at the beginning of a string to a numeric value, using format specifiers to determine the representation and precision of the resulting number.

This node also returns the remainder of the input string that follows the converted value.

connector_pane_image
datatype_icon

string

The string you want to scan for a numeric value.

datatype_icon

format string

A string that uses format specifiers to determine how to convert the input text into a numeric value.

datatype_icon

default

A numeric value whose representation determines the representation of value.

Default: A double-precision, floating-point value of 0

datatype_icon

output string

The characters in string that follow format string. If there is no match for format string, this node returns string in its entirety.

datatype_icon

value

A portion of string converted into a numeric value according to the format specifiers in format string. If this node fails to locate a match for format string, it returns the value of default.

If the input string represents a number outside the range of the representation of this output, this output returns the maximum or minimum value for the representation. For example, if the input string is 300, and the representation of this output is an 8-bit signed integer, this output returns 127.

Where This Node Can Run:

Desktop OS: Windows

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


Recently Viewed Topics