Owning Palette: Fixed-Point VIs
Installed With: Adaptive Filter Toolkit
Configures the settings of a fixed-point adaptive filter and simulates the performance of this filter. You also can save the fixed-point adaptive filter settings to an XML file. After you place this Express VI on the block diagram, double-click this Express VI to display the configuration dialog box.
After you determine the fixed-point settings, you can use these settings to generate LabVIEW FPGA code for the fixed-point adaptive filter.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description |
|---|---|
| Algorithm Settings | Specifies the algorithm settings for the floating-point adaptive filter. This Express VI supports only the standard least mean squares (LMS) algorithm. You can choose from the following options:
|
| Fixed-Point Configuration | Specifies the settings that you use to simulate a fixed-point adaptive filter. This section contains the following options:
|
| Save FXP Settings | Saves the fixed-point settings to an XML file. You can use the AFT Load Fixed-Point Settings VI to load the fixed-point settings from the XML file. |
| Parameter | Description |
|---|---|
| reset? | Specifies whether to reset the adaptive filter coefficients to zeroes. The default is FALSE. |
| x(n) | Specifies the fixed-point input signal x(n) to the fixed-point adaptive filter. If you specify a floating-point input signal, this Express VI converts the signal into a fixed-point signal automatically. |
| d(n) | Specifies the fixed-point input signal d(n) to the fixed-point adaptive filter. If you specify a floating-point input signal, this Express VI converts the signal into a fixed-point signal automatically. |
| step size | Specifies the step size value for the fixed-point adaptive filter. If the value is zero, this VI processes the input signal without updating the coefficients of the adaptive filter. If the value is greater than zero, this VI uses this value as the step size to update the coefficients of the adaptive filter. This value takes precedence over the step size value that you specify for the Step size dialog box option. |
| error in (no error) | Describes error conditions that occur before this VI or function runs. |
| Parameter | Description |
|---|---|
| fixed-point settings | Returns the fixed-point adaptive filter settings that you can save to a file in XML format. |
| y(n) | Returns the fixed-point output signal y(n) from the fixed-point adaptive filter. |
| e(n) | Returns the fixed-point error signal, which is the difference between d(n) and y(n). |
| coefficients | Returns the coefficients of the fixed-point adaptive filter. |
| 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. |
| simulation information | Returns information about the fixed-point simulation.
|
Refer to the following VIs for examples of using the AFT Simulate Fixed-Point FIR LMS VI: