Numeric Constant

Owning Palette: Numeric VIs and Functions

Requires: Base Development System

Use the numeric constant to pass a numeric value to the block diagram. Set this value by clicking inside the constant with the Operating tool and typing a value.

 Add to the block diagram  Find on the palette

If you enter a floating-point number for the numeric constant, the default representation is a double-precision, floating-point number. If you enter an integer, the default representation is a 32-bit integer. If you enter a complex number, the default representation is a double-precision, complex number. For example, if you enter 123, the representation is a 32-bit integer. If you enter 123., the representation is a double-precision, floating-point number. You also can change the numeric representation of a numeric constant.

You cannot change the value of the numeric constant while the VI runs. You can assign a label to this constant.