Instructions
RIGOL  Chapter 2 Command System 
2-102    MSO5000 Programming Guide 
Example 
:MATH1:FILTer:W2 1500000            /*Sets the cut-off frequency 2 of Band Pass Filter to 
1.5 MHz.*/ 
:MATH1:FILTer:W2?                          /*The query returns 1.500000E+6.*/ 
:MATH<n>:SENSitivity 
Syntax 
:MATH<n>:SENSitivity <sens> 
:MATH<n>:SENSitivity? 
Description 
Sets or queries the sensitivity of the logic operation. The default unit is div. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<sens> 
Real 
100 mdiv to 1 div 
300 mdiv 
Return 
Format 
The query returns the sensitivity of the logic operation in scientific notation. 
Example 
:MATH1:SENSitivity 0.2    /*Sets the sensitivity of the logic operation to 0.2 div.*/ 
:MATH1:SENSitivity?          /*The query returns 2.400000E-1.*/ 
:MATH<n>:DISTance 
Syntax 
:MATH<n>:DISTance <dist> 
:MATH<n>:DISTance? 
Description 
Sets or queries the smoothing window width of differential operation. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<dist> 
Integer 
5 to 10000 
5 
Return 
Format 
The query returns an integer ranging from 5 to 10000. 
Example 
:MATH1:DISTance 20/*Sets the smoothing window width of differential operation to 20.*/ 
:MATH1:DISTance? /*The query returns 20.*/ 
:MATH<n>:THReshold1 
Syntax 
:MATH<n>:THReshold1 <thre> 
:MATH<n>:THReshold1? 
Description 
Sets or queries threshold level of Source A in the logic operation. The default unit is V. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<thre> 
Real 
(-4 ×  VerticalScale - VerticalOffset) to   
(4 ×  VerticalScale - VerticalOffset) 
0 V 
Description 
  This command is only available in the following conditions: logic operations (A&&B, 
A||B, A^B, and !A); and Source A of the logic operation is an analog channel. 
  VerticalScale indicates the vertical scale of the current Source A. 










