DFD Convert FXP to Integer VI

Digital Filter Design VIs and Functions

DFD Convert FXP to Integer VI

Owning Palette: Fixed-Point Tools VIs

Installed With: Digital Filter Design Toolkit

Converts fixed-point numbers to integers. You must manually select the polymorphic instance you want to use.

Examples

Use the pull-down menu to select an instance of this VI.

 Place on the block diagram  Find on the Functions palette

DFD Convert FXP to I16 (scalar)

quantization settings specifies the settings of the quantizer.
source specifies the quantizer source.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
wl specifies the word length, in number of bits, that the quantizer uses to represent a fixed-point number. The default is 16.
iwl specifies the integer word length, in number of bits, within wl that the quantizer uses to represent the integer part of a fixed-point number. The default is 1. iwl can be any integer value.
overflow mode specifies how this VI handles overflows and underflows in the quantizer.

0Saturation
1Wrap (default)
rounding mode specifies the rounding mode this VI uses in the quantizer.

0Nearest
1Truncation (default)
signed? specifies if the fixed-point number is a signed number. This VI supports signed numbers only. If you remove the checkmark from the signed? checkbox, the result you obtain might not be correct.
FXP value specifies the fixed-point number you want to convert.
I16 returns a 16-bit signed integer.

DFD Convert FXP to I32 (scalar)

quantization settings specifies the settings of the quantizer.
source specifies the quantizer source.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
wl specifies the word length, in number of bits, that the quantizer uses to represent a fixed-point number. The default is 16.
iwl specifies the integer word length, in number of bits, within wl that the quantizer uses to represent the integer part of a fixed-point number. The default is 1. iwl can be any integer value.
overflow mode specifies how this VI handles overflows and underflows in the quantizer.

0Saturation
1Wrap (default)
rounding mode specifies the rounding mode this VI uses in the quantizer.

0Nearest
1Truncation (default)
signed? specifies if the fixed-point number is a signed number. This VI supports signed numbers only. If you remove the checkmark from the signed? checkbox, the result you obtain might not be correct.
FXP value specifies the fixed-point number you want to convert.
I32 returns a 32-bit signed integer.

DFD Convert FXP to I8 (scalar)

quantization settings specifies the settings of the quantizer.
source specifies the quantizer source.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
wl specifies the word length, in number of bits, that the quantizer uses to represent a fixed-point number. The default is 16.
iwl specifies the integer word length, in number of bits, within wl that the quantizer uses to represent the integer part of a fixed-point number. The default is 1. iwl can be any integer value.
overflow mode specifies how this VI handles overflows and underflows in the quantizer.

0Saturation
1Wrap (default)
rounding mode specifies the rounding mode this VI uses in the quantizer.

0Nearest
1Truncation (default)
signed? specifies if the fixed-point number is a signed number. This VI supports signed numbers only. If you remove the checkmark from the signed? checkbox, the result you obtain might not be correct.
FXP value specifies the fixed-point number you want to convert.
I8 returns an 8-bit signed integer.

DFD Convert FXP to I16 (vector)

quantization settings specifies the settings of the quantizer.
source specifies the quantizer source.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
wl specifies the word length, in number of bits, that the quantizer uses to represent a fixed-point number. The default is 16.
iwl specifies the integer word length, in number of bits, within wl that the quantizer uses to represent the integer part of a fixed-point number. The default is 1. iwl can be any integer value.
overflow mode specifies how this VI handles overflows and underflows in the quantizer.

0Saturation
1Wrap (default)
rounding mode specifies the rounding mode this VI uses in the quantizer.

0Nearest
1Truncation (default)
signed? specifies if the fixed-point number is a signed number. This VI supports signed numbers only. If you remove the checkmark from the signed? checkbox, the result you obtain might not be correct.
FXP values specifies the fixed-point numbers you want to convert.
I16 values returns an array of 16-bit signed integers.

DFD Convert FXP to I32 (vector)

quantization settings specifies the settings of the quantizer.
source specifies the quantizer source.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
wl specifies the word length, in number of bits, that the quantizer uses to represent a fixed-point number. The default is 16.
iwl specifies the integer word length, in number of bits, within wl that the quantizer uses to represent the integer part of a fixed-point number. The default is 1. iwl can be any integer value.
overflow mode specifies how this VI handles overflows and underflows in the quantizer.

0Saturation
1Wrap (default)
rounding mode specifies the rounding mode this VI uses in the quantizer.

0Nearest
1Truncation (default)
signed? specifies if the fixed-point number is a signed number. This VI supports signed numbers only. If you remove the checkmark from the signed? checkbox, the result you obtain might not be correct.
FXP values specifies the fixed-point numbers you want to convert.
I32 values returns an array of 32-bit signed integers.

DFD Convert FXP to I8 (vector)

quantization settings specifies the settings of the quantizer.
source specifies the quantizer source.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
wl specifies the word length, in number of bits, that the quantizer uses to represent a fixed-point number. The default is 16.
iwl specifies the integer word length, in number of bits, within wl that the quantizer uses to represent the integer part of a fixed-point number. The default is 1. iwl can be any integer value.
overflow mode specifies how this VI handles overflows and underflows in the quantizer.

0Saturation
1Wrap (default)
rounding mode specifies the rounding mode this VI uses in the quantizer.

0Nearest
1Truncation (default)
signed? specifies if the fixed-point number is a signed number. This VI supports signed numbers only. If you remove the checkmark from the signed? checkbox, the result you obtain might not be correct.
FXP values specifies the fixed-point numbers you want to convert.
I8 values returns an array of 8-bit signed integers.

Examples

Refer to the following VIs for examples of using the DFD Convert FXP to Integer VI:

  • Conversion between FXP and Integer VI: labview\examples\Digital Filter Design\Fixed-Point Filters\Single-Rate

     Open example  Browse related examples

  • How to Build Coefficients Quantizer VI: labview\examples\Digital Filter Design\Getting Started\Apply Filters

     Open example  Browse related examples