User manual

Chapter 2 Command System RIGOL
MSO5000 Programming Guide 2-101
:MATH<n>:FILTer:W1
Syntax
:MATH<n>:FILTer:W1 <freq1>
:MATH<n>:FILTer:W1?
Description
Sets or queries the cut-off frequency of Low Pass Filter/High Pass Filter; or the cut-off
frequency 1 of Band Pass Filter/Band Stop Filter. The default unit is Hz.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<freq1>
Real
Refer to
Remarks
Related to the filter type
LPASs|BPASs|BSTop: 0.005× screen sample rate
HPASs: 0.1× screen sample rate
Remarks
When the filter type is set to LPASs (Low Pass Filter) or HPASs (High Pass Filter),
you need to set one cut-off frequency. At this time, the range of <freq1> is from
(0.005× screen sample rate) to (0.1× screen sample rate), at a step of
(0.005× screen sample rate). Wherein, screen sample rate = 100/horizontal time
base.
When the filter type is set to BPASs (Band Pass Filter) or BSTop (Band Stop Filter),
you need to set two cut-off frequencies. Run this command to set the cut-off
frequency 1, and run the :MATH<n>:FILTer:W2 command to set the cut-off
frequency 2. At this time, the range of <freq1> is from (0.005× screen sample rate)
to (0.095× screen sample rate), at a step of (0.005× screen sample rate). Wherein,
screen sample rate = 100/horizontal time base.
Note: The cut-off frequency 1 must be smaller than the cut-off frequency 2.
Return
Format
The query returns the current cut-off frequency or cut-off frequency 1 in scientific
notation.
Example
:MATH1:FILTer:W1 1000000 /*Sets the cut-off frequency of Low Pass Filter to 1 MHz.*/
:MATH1:FILTer:W1? /*The query returns 1.000000E+6.*/
:MATH<n>:FILTer:W2
Syntax
:MATH<n>:FILTer:W2 <freq2>
:MATH<n>:FILTer:W2?
Description
Sets or queries the cut-off frequency 2 of Band Pass Filter/Band Stop Filter. The default
unit is Hz.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
——
<freq2>
Real
Refer to
Remarks
0.1× screen sample rate
Remarks
When the filter type is set to BPASs (Band Pass Filter) or BSTop (Band Stop Filter), you
need to set two cut-off frequencies. Run the :MATH<n>:FILTer:W1 command to set
the cut-off frequency 1, and run this command to set the cut-off frequency 2. At this
time, the range of <freq2> is from (0.01× screen sample rate) to (0.1× screen sample
rate), at a step of (0.005× screen sample rate). Wherein, screen sample rate =
100/horizontal time base
Note: The cut-off frequency 2 must be greater than the cut-off frequency 1.
Return
Format
The query returns the current cut-off frequency 2 in scientific notation.