DFD Convert Integer to FXP VI

Digital Filter Design VIs and Functions

DFD Convert Integer to FXP VI

Owning Palette: Fixed-Point Tools VIs

Installed With: Digital Filter Design Toolkit

Converts integers to fixed-point numbers. Wire data to the I16 input to determine the polymorphic instance to use or manually select the instance.

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 I16 to FXP (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.
I16 specifies a 16-bit signed integer.
FXP value returns a fixed-point number.

DFD Convert I32 to FXP (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.
I32 specifies a 32-bit signed integer.
FXP value returns a fixed-point number.

DFD Convert I8 to FXP (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.
I8 specifies an 8-bit signed integer.
FXP value returns a fixed-point number.

DFD Convert I16 to FXP (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.
I16 values specifies an array of 16-bit signed integers.
FXP values returns an array of fixed-point numbers.

DFD Convert I32 to FXP (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.
I32 values specifies an array of 32-bit signed integers.
FXP values returns an array of fixed-point numbers.

DFD Convert I8 to FXP (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.
I8 values specifies an array of 8-bit signed integers.
FXP values returns an array of fixed-point numbers.

Examples

Refer to the following VIs for examples of using the DFD Convert Integer to FXP 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