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.
Table3-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)ifa>=0; same as ceil(a)ifa<0)
log(a)Natural logarithm of a.
log10(a)Base 10 logarithm of a.
max(a, b)Returns larger (maximum) value of aand b.
Arguments
Example