Command Descriptions
3-190
AWG610 Arbitrary Waveform Generator User Manual
”output_filename” is the complete file name (file name and extension) to contain
the filtered waveform data. The argument can include a relative or absolute path
name. Enclose the file name within double quotation marks.
”filename1” is the complete (file name and extension) name of the source file for
the low pass filter operation. The file must be on the active drive. The argument
can include a relative or absolute path name. Enclose the file name within double
quotation marks.
cutoff_freq is the low pass filter cutoff frequency. You can enter the integer
value.
taps is the number of delay elements that composes the digital filter. The range
of taps is 3 to 101. You must enter the integer value as an odd number.
atten is the inhibit zone attenuation factor, in dB. The range of attenuation is
21 dB to 100 dB. You can enter the integer value.
”filtered.wfm” = lpf(”sine.wfm”, 10.454e2, 2, 30)
Math Functions
Table 3–47 lists the programming language math functions that you can use as
part of a waveform equation expression.
Table 3-47: Programming language math functions
Function
Description
abs(
a
)
Absolute value of
a
.
acos(
a
)
Arc cosine of
a
.
asin(
a
)
Arc sine of
a
.
atan(
a
)
Arc tangent of
a
.
ceil(
a
)
Minimum integer greater than or equal to
a
.
cos(
a
)
Cosine of
a
.
cosh(
a
)
Hyperbolic cosine of
a
.
exp(
a
)
Exponential function of base of natural logarithm for
a
.
floor(
a
)
Maximum integer less than or equal to
a
int(
a
)
Truncation (Same as floor(
a
) if
a
>= 0; same as ceil(
a
) if
a
< 0)
log(
a
)
Natural logarithm of
a
.
log10(
a
)
Base 10 logarithm of
a
.
max(
a, b
)
Returns larger (maximum) value of
a
and
b
.
Arguments
Example
Summary of Contents for AWG610
Page 4: ......
Page 24: ...Preface AWG610 Arbitrary Waveform Generator User Manual...
Page 216: ...Quick Editing AWG610 Arbitrary Waveform Generator User Manual...
Page 220: ...The Table Editor AWG610 Arbitrary Waveform Generator User Manual...
Page 242: ...The Sequence Editor AWG610 Arbitrary Waveform Generator User Manual...
Page 288: ...The UTILITY Window AWG610 Arbitrary Waveform Generator User Manual...
Page 292: ...Capturing Waveforms AWG610 Arbitrary Waveform Generator User Manual...
Page 326: ...Programming Examples AWG610 Arbitrary Waveform Generator User Manual...
Page 338: ...File Management AWG610 Arbitrary Waveform Generator User Manual...
Page 424: ...Appendix B Performance Verification AWG610 Arbitrary Waveform Generator User Manual...
Page 440: ...Appendix E File Transfer Interface Outline AWG610 Arbitrary Waveform Generator User Manual...