The Numeric functions are polymorphic functions. When you wire two or more numeric inputs of different representations to a function, the function usually returns the data in the larger, or wider, representation. The functions coerce the smaller representations to the widest representation before execution and LabVIEW places a coercion dot on the terminal where the conversion takes place.
However, you can configure a Numeric function to return a data type you specify. If you select fixed-point representation for the output, you also can configure the desired range and encoding of the output and how the function handles overflow or quantization conditions. Blue coercion dots appear on the output terminals of Numeric functions when you configure output settings for the functions.
Configuring Output Representation
Complete the following steps to configure the representation for the output of a Numeric function.
- Right-click the function and select Properties from the shortcut menu to display the Numeric Node Properties dialog box.
- On the Output Configuration page, click the data type icon in the Representation section and select the data type you want to use for the output from the shortcut menu. LabVIEW removes the checkmark from the Adapt to source checkbox if the data type you select does not match the data type of the input values.
- If you set Representation to FXP (Fixed-point), continue to the following section. Otherwise, click the OK button to close the dialog box and apply the configuration settings.
Configuring Settings for a Fixed-Point Output
Complete the following steps to configure settings for a fixed-point output.
- Select the Rounding Mode to specify how the function handles quantization conditions.
- Select the Overflow Mode to specify how the function handles overflow conditions.
- (Optional) Complete the following steps to configure the Encoding of the output.
- Select Signed or Unsigned to specify whether you want to represent a signed or unsigned number.
- In the Word length field, specify the total number of bits you want to use to represent the value of the output.
- In the Integer word length field, specify the number of integer bits you want to use to represent the value of the output.
 | Note Specifying Encoding has a lower impact on performance than specifying Range. The performance impact of specifying Range is minimal. However, the performance impact can be significant if you run a VI that coerces values to a desired range on a target such as FPGA. |
- (Optional) Complete the following steps to configure the Range of the output.
- In the Minimum field, enter the minimum value to which you want the output to conform.
- In the Maximum field, enter the maximum value to which you want the output to conform.
- In the Desired delta field, enter the increment between numbers within the Range.
 | Note You cannot configure both Encoding and Range because the settings depend on each other. The settings you configure last are the settings that LabVIEW uses for the fixed-point number. |
- Click the OK button to close the dialog box and apply the configuration settings.