DFD FXP Simulation Report VI

Digital Filter Design VIs and Functions

DFD FXP Simulation Report VI

Owning Palette: Fixed-Point Tools VIs

Installed With: Digital Filter Design Toolkit

Creates a text report of filtering statistics from the DFD FXP Simulation VI or the DFD FXP Simulation with State VI.

Wire the filtering statistics report output of the DFD FXP Simulation VI or the DFD FXP Simulation with State VI to the filtering statistics report input of this VI.

Details  Examples

 Place on the block diagram  Find on the Functions palette
filtering statistics report specifies the statistical information of quantizers after a simulation.
quantizer source specifies the source for the quantizer.

0Coefficients a/k (default)
1Input
2Output
3Multiplicand
4Product
5Sum
6Delay
7Coefficients b/v
statistical information contains the statistical information for quantizer source.
max value contains the maximum value that appeared in quantizer source during simulation.
min value contains the minimum value that appeared in quantizer source during simulation.
#overflows contains the number of overflows that occurred in quantizer source during simulation.
#underflows contains the number of underflows that occurred in quantizer source during simulation.
#operations contains the number of operations that occurred in quantizer source during simulation.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
filtering text report returns a text report with the filtering statistics from filtering statistics report.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.

DFD FXP Simulation Report Details

The filtering text report output lists filtering statistics for the quantizers of Input, Output, Multiplicand, Product, Sum, and Delay during the simulation process. The output does not include Coefficients a/k and Coefficients b/v. Each quantizer includes five entries: max value, min value, #overflows, #underflows, and #operations.

You can use filtering text report to monitor the performance of quantizers. Use the max value and min value to monitor the effect of overflow and underflow and adjust quantization settings accordingly.

Examples

Refer to the following VIs for examples of using the DFD FXP Simulation Report VI:

  • Customized Fixed-Point Filter Modeling and Simulation VI: labview\examples\Digital Filter Design\Fixed-Point Filters\Single-Rate

     Open example  Browse related examples

  • Continuous Overflow Statistics VI: labview\examples\Digital Filter Design\Fixed-Point Filters\Single-Rate

     Open example  Browse related examples