Instructions
Chapter 2 Command System  RIGOL 
MSO5000 Programming Guide  2-107   
:MEASure:AMSource 
Syntax 
:MEASure:AMSource <chan> 
:MEASure:AMSource? 
Description 
Sets the source and displays all measurement values of the set source; or queries the 
channel source(s) of the all measurement function. 
Parameter 
Name 
Type 
Range 
Default 
<chan> 
Discrete 
{CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF} 
OFF 
Return 
Format 
The query returns CHAN1, CHAN2, CHAN3, CHAN4, or OFF.   
Example 
:MEASure:AMSource CHANnel1    /*Sets the source to CHANnel1.*/ 
:MEASure:AMSource?                  /*The query returns CHAN1.*/ 
:MEASure:SETup:MAX 
Syntax 
:MEASure:SETup:MAX <value> 
:MEASure:SETup:MAX? 
Description 
Sets or queries the threshold level upper limit of the analog channel in auto 
measurement. 
Parameter 
Name 
Type 
Range 
Default 
<value> 
Integer 
Refer to Remarks 
—— 
Remarks 
  When the threshold type is percentage, its range is from 0% to 100%; when the 
threshold type is absolute, its range is from -100 mV to 100 mV. 
  When the set upper limit is smaller than the current middle value, the middle value 
will be automatically reduced, so as to make itself to be smaller than the upper 
limit. 
Return 
Format 
The query returns an integer. 
Example 
:MEASure:SETup:MAX 95        /*Sets the upper limit of the threshold level to 95%.*/ 
:MEASure:SETup:MAX?            /*The query returns 95.*/ 
:MEASure:SETup:MID 
Syntax 
:MEASure:SETup:MID <value> 
:MEASure:SETup:MID? 
Description 
Sets or queries the threshold level middle value of the analog channel in auto 
measurement. 
Parameter 
Name 
Type 
Range 
Default 
<value> 
Integer 
Refer to Remarks 
—— 
Remarks 
  When the threshold type is percentage, its range is from 0% to 100%; when the 
threshold type is absolute, its range is from -100 mV to 100 mV. 
  The set middle value must be smaller than the currently set upper limit and greater 
than the currently set lower limit. 
Return 
The query returns an integer. 










