10-09-2006 04:30 AM
10-10-2006 07:58 AM
10-10-2006 09:41 AM
In the Digital Filter Design (DFD) toolkit, look at Case Study 1 in the examples. This set of example VIs shows you how to proceed through the filter design process to creating your own filter for the FPGA.
..\LabVIEW 8.0\examples\Digital Filter Design\CaseStudy1
In step 1 you design the filter. By default this example is configured for a low pass filter but you can easily change it to a high pass filter. All the filter settings are made in the dialog of the Equi-Ripple FIR Express VI. Double-click on the VI and configure your filter there. As part of the filter design you need to know what acquisition rate you will use to sample the signal. See the attched screenshot.
Steps 2 through 4 allow you to analyze and test your design. You can skip these if you want.
In step 5 you will convert the filter design into a FPGA filter VI. Once you open this VI you need to make the same changes to the Equi-Ripple FIR Express VI as you made in step 1. Then select a file name for your FPGA filter on the front panel of the VI and run the VI. It will generate the FPGA filter VI and save it on your harddrive and open it as well. You can then insert this VI into your FPGA code.