180 Chapter 4
Downloading and Using Files
Downloading FIR Filter Coefficients
Downloading FIR Filter Coefficients
Use the following SCPI command line to download FIR filter coefficients from the PC to the signal
generator’s FIR memory:
:MEMory:DATA:FIR "<file_name>",osr,coefficient{,coefficient}
Use the following SCPI command line to query list data from FIR memory:
:MEMory:DATA:FIR? "<file_name>"
Sample Command Line
The following SCPI command downloads a typical set of FIR filter coefficient values and name the file
“FIR1”:
:MEMory:DATA:FIR "FIR1",4,0,0,0,0,0,0.000001,0.000012,0.000132,0.001101,
0.006743,0.030588,0.103676,0.265790,0.523849,0.809508,1,1,0.809508,0.523849,
0.265790,0.103676,0.030588,0.006743,0.001101,0.000132,0.000012,0.000001,0,
0,0,0,0
FIR1 assigns the name FIR1 to the associated OSR (over sample ratio) and coefficient values.
The file is then represented with this name in the FIR File catalog.
4 specifies the oversample ratio.
0,0,0,0,0,
0.000001,... represent FIR filter coefficients.