Range Limits for Type VI

Owning Palette: Numeric VIs and Functions

Requires: Base Development System

Returns the maximum and minimum values of the input data type.

 Add to the block diagram  Find on the palette
type specifies the data type.

This input accepts any scalar numeric data type and enum.
maximum value for type returns the maximum value of the data type wired to type. If type is an enum, this VI returns the last value of the enum.

For example, if type is a 16-bit unsigned integer, this output returns 32767. If type is an enum with values {cat, dog, bird}, this output returns bird.
minimum value for type returns the minimum value of the data type wired to type. If type is an enum, this VI returns the first value of the enum.

For example, if type is a 16-bit unsigned integer, this output returns -32768. If type is an enum with values {cat, dog, bird}, this output returns cat.