EasyManua.ls Logo

LeCroy 6000 SERIES - Example 2: Creating an IIR Filter Coefficient File Using Mathcad

Default Icon
409 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operator's Manual
358 ISSUED: October 2003 WR6K-OM-E Rev A
the Mathcad variable containing the data that will be written to the data file.
When you click outside the component, the values in the Mathcad variable will be written to the
filename you specified. Each time you calculate the worksheet, the data file is rewritten.
On the instrument, when the Custom filter kind is selected, a file selection box will appear. Select
the file saved from Mathcad; the coefficients will be used in the filter.
Example 2: Creating an IIR Filter Coefficient File Using Mathcad
Note: This example uses the Mathcad Signal Processing Extension Pack.
order := 6 fcutoff := .1
A := iirlow(butter)order),fcutoff)
x := 0,.001 .. .5
Now create an ASCII file containing the coefficients: IirFilter.txt
Writing Data to a Data File
To write values from Mathcad to a data file, you can use the File Read/Write component, as
follows:
1. Click in the blank spot in your worksheet.
2. Choose Component from the Insert menu.

Table of Contents