RIGOL Chapter 2 Command System
2-92 MSO1000Z/DS1000Z Programming Guide
:MATH:SOURce2
:MATH:SOURce2 <src>
:MATH:SOURce2?
Set or query source B of algebraic operation/the outer layer operation of compound
operation.
{CHANnel1|CHANnel2|CHANnel3|CHANnel4|FX}
This command is only applicable to algebraic operations (requiring two sources) and
compound operations whose outer layer operations are algebraic operations.
When the outlayer operation of compound operation is algebraic operation, this
command is used to set source B of the outer layer operation.
Note: When the outer layer operation of compound operation is algebraic operation, at least
one of source A and source B of the outer layer operation should be set to FX.
When "FX" is selected, you can send
the :MATH:OPTion:FX:SOURce1, :MATH:OPTion:FX:SOURce2,
and :MATH:OPTion:FX:OPERator commands to set the sources and operator of the
inner layer operation.
The query returns CHAN1, CHAN2, CHAN3, CHAN4, or FX.
:MATH:SOURce2 CHANnel3 /*Set source B of algebraic operation to CH3*/
:MATH:SOURce2? /*The query returns CHAN3*/
:MATH:LSOUrce1
:MATH:LSOUrce1 <src>
:MATH:LSOUrce1?
Set or query source A of 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.
:MATH:LSOUrce1 D3 /*Set source A of logic operation to D3*/
:MATH:LSOUrce1? /*The query returns D3*/