Instructions
Chapter 2 Command System  RIGOL 
MSO5000 Programming Guide  2-93   
Example 
:MATH1:LSOUrce1 D3      /*Sets Source A of the logic operation to D3.*/ 
:MATH1:LSOUrce1?        /*The query returns D3.*/ 
:MATH<n>:LSOUrce2 
Syntax 
:MATH<n>:LSOUrce2 <src> 
:MATH<n>:LSOUrce2? 
Description 
Sets or queries Source B of the logic operation. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<src> 
Discrete 
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D1
1|D12|D13|D14|D15|CHANnel1|CHANnel2|C
HANnel3|CHANnel4} 
CHANnel1 
Remarks 
  The logic operations include A&&B, A||B, A^B, and !A. 
  This command is only available for the logic operation that contains two sources. 
It is used to set Source B. 
Return 
Format 
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, 
D15, CHAN1, CHAN2, CHAN3, or CHAN4. 
Example 
:MATH1:LSOUrce2 D4      /*Sets Source B of the logic operation to D4.*/ 
:MATH1:LSOUrce2?        /*The query returns D4.*/ 
:MATH<n>:SCALe 
Syntax 
:MATH<n>:SCALe <scale> 
:MATH<n>:SCALe? 
Description 
Sets or queries the vertical scale of the operation results. The unit is related to the 
currently selected operator and the unit selected by the source. 
Parameter 
Name 
Type 
Range 
Default 
<n> 
Discrete 
{1|2|3|4} 
—— 
<scale> 
Real 
Refer to Remarks 
—— 
Remarks 
The setting range of vertical scale is related to the currently selected operator and the 
scale of the source channel. For integration and differentiation operations, the actual 
range of <scale> is also related to the current horizontal time base. 
Return 
Format 
The query returns the vertical scale of the current operation results in scientific 
notation. 
Example 
:MATH1:SCALe 0.2      /*Sets the vertical scale to 200 mV.*/ 
:MATH1:SCALe?       /*The query returns 2.000000E-1.*/ 










