Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-95
:MATH<n>:SOURce1
:MATH<n>:SOURce1 <src>
:MATH<n>:SOURce1?
Sets or queries the source or Source A of arithmetic operation and function operation.
{CHANnel1|CHANnel2|CHANnel3|CHANnel4}
 For arithmetic operation, this command is used to set Source A.
 For function operation, use this command only to set the source.
The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:MATH1:SOURce1 CHANnel3 /*Sets Source A of the arithmetic operation to CH3.*/
:MATH1:SOURce1? /*The query returns CHAN3.*/
:MATH<n>:SOURce2
:MATH<n>:SOURce2 <src>
:MATH<n>:SOURce2?
Sets or queries Source B of arithmetic operation.
{CHANnel1|CHANnel2|CHANnel3|CHANnel4}
This command is only available for arithmetic operation (containing two sources).
The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
:MATH1:SOURce2 CHANnel3 /*Sets Source B of the arithmetic operation to CH3.*/
:MATH1:SOURce2? /*The query returns CHAN3.*/
:MATH<n>:LSOUrce1
:MATH<n>:LSOUrce1 <src>
:MATH<n>:LSOUrce1?
Sets or queries Source A of the logic operation.
{D0|D1|D2|D3|D4|D5|D6|D7|D8|
D9|D10|D11|D12|D13|D14|D15|
CHANnel1|CHANnel2|CHANnel3|CHANnel4}
The logic operations include A&&B, A||B, A^B, and !A.
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
D15, CHAN1, CHAN2, CHAN3, or CHAN4.