Scan Value Function

Owning Palette: String/Number Conversion Functions

Requires: Base Development System

Converts characters at the beginning of string to the data type represented by default, according to the conversion codes in format string, and returns the converted number in value and the remainder of string after the match in output string.

The connector pane displays the default data types for this polymorphic function.

 Add to the block diagram  Find on the palette
string is the input string the function scans.
format string specifies how to convert the input arguments into value. Use the format string syntax.
default is the numeric representation for value. The default is a double-precision, floating-point value of 0.
output string is the remaining characters in string after the match or string if there is no match.
value is the converted value or the value in default if there is no match. If value is an integer, it can overflow if the input is out of range. In that case, value is set to the maximum or minimum value for the data type. For example, if the input string is 300 and the data type is a 8-bit signed integer, LabVIEW sets the value to 127.