beautypg.com

Dfp2 option – Teledyne LeCroy DFP2 - Digital Filter Package 2 User Manual

Page 21

background image

DFP2 Option

923134 Rev A

ISSUED:

June 2013

19

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.

3.

Select

File Read or Write from the list and click Next. This launches the first part of the File

Read or Write Setup Wizard.

4.

Choose

Write to a data source and press Next to go to the second page of the Wizard:

From the File Format drop-down list in this Wizard, choose Tab Delimited Text.

5.

Type the path to the data file you want to write, or click the Browse button to locate it.

6.

Press

Finish. You'll see the File Read or Write component icon and the path to the data file.

In the place holder that appears at the bottom of the component, enter the transposed name
of the Mathcad variable containing the data that will be written to the data file. It is important
to transpose the variable (Ctl + 1) so that the variables appear in the correct order.

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.

SPECIFICATIONS

The pass-band gain of all filters (except custom) is normalized to 1.

FIR Coefficients: 2001 max.

IIR Stages: 29 max.

Filter Kinds: high pass, low pass, band pass, band stop, raised cosine, raised-root cosine,
Gaussian, custom

IIR Filter Types: Butterworth, Chebyshev, Inverse Chebyshev, Bessel

§ § §