Command Descriptions
3-188
AWG610 Arbitrary Waveform Generator User Manual
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” = hpf(”sine.wfm”, 3.25e5, 2, 25)
If (Control Statement)
The if(control statement) provides control statements to execute expressions
when a condition resolves to true or false.
Control
if <condition> then <expr1> endif
if <condition> then <expr1> else <expr2> endif
condition is a conditional expression that resolves to a logical true or false. True
equals any nonzero value; false equals zero. When the condition is true, the
expression statement is run.
expr1 is an equation expression you want to execute when condition is true.
expr2 is an equation expression you want to execute when condition is false.
This argument is only valid as part of the else statement of an if/then/else/endif
control construct.
if cc = 1 then
”SMOOTH.WFM” = ”TEMP2.WFM”
else
”SMOOTH.WFM” = join(”SMOOTH.WFM”, ”TEMP2.WFM”)
endif
Integ( )
The integ() statement performs an integration operation on a specified file. The
output file retains all marker values of the input file. Refer to Integral on page
F–3 for information about the integration algorithm.
Waveform
”output_filename” = integ(”filename”)
Example
Group
Syntax
Arguments
Example
Group
Syntax