Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

DFD Convert FXP to Integer (Digital Filter Design Toolkit)

LabVIEW Digital Filter Design Toolkit 8.2 Help
September 2006

NI Part Number:
371988A-01

»View Product Info

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.

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:

  • labview\examples\Digital Filter Design\Fixed-Point Filters\Conversion between FXP and Integer.vi

     

  • labview\examples\Digital Filter Design\Getting Started\How to Build Coefficients Quantizer.vi

     


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit