RIGOL  Chapter 2 Command System 
2-116    MSO1000Z/DS1000Z Programming Guide 
:MEASure:SOURce 
:MEASure:SOURce <sour> 
:MEASure:SOURce? 
Set or query the source of the current measurement parameter.   
{D0|D1|D2|D3|D4|D5|D6|D7|D8| 
D9|D10|D11|D12|D13|D14|D15| 
CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH} 
  Analog channels CH1 to CH4 can be selected no matter wether they are currently 
turned on. Note: When any of channels D0 to D7 is turned on, CH4 cannot be 
selected; when any of channels D8 to D15 is selected, CH3 cannnot be selected.   
  For digital channels D0 to D15, only channels currently turned on can be selected. 
  This command is used to set the source for the measurement parameters (except 
delay and phase). The delay and phase measurements requires two sources which 
can be set by the :MEASure:SETup:DSA 
and :MEASure:SETup:DSB, :MEASure:SETup:PSA and :MEASure:SETup:PSB 
commands respectively.   
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, 
D15, CHAN1, CHAN2, CHAN3, CHAN4, or MATH.   
:MEASure:SOURce CHANnel2 /*Set the parameter measurement source to CH2*/ 
:MEASure:SOURce?                          /*The query returns CHAN2*/ 
 
 
:MEASure:COUNter:SOURce 
:MEASure:COUNter:SOURce <sour> 
:MEASure:COUNter:SOURce? 
Set or query the source of the frequency counter, or disable the frequency counter.   
{D0|D1|D2|D3|D4|D5|D6|D7|D8| 
D9|D10|D11|D12|D13|D14|D15| 
CHANnel1|CHANnel2|CHANnel3|CHANnel4|OFF} 
  Analog channels CH1 to CH4 can be selected no matter wether they are currently 
turned on. Note: When any of channels D0 to D7 is turned on, CH4 cannot be 
selected; when any of channels D8 to D15 is selected, CH3 cannnot be selected.   
  For digital channels D0 to D15, only channels currently turned on can be selected. 
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, 
D15, CHAN1, CHAN2, CHAN3, CHAN4, or OFF.   
:MEASure:COUNter:SOURce CHANnel2 /*Set the source of the frequency counter to 
CH2*/ 
:MEASure:COUNter:SOURce?                        /*The query returns CHAN2*/