Chapter 2 Command System
:MATH:DISPlay
Syntax
:MATH:DISPlay <bool>
:MATH:DISPlay?
Description
Enable or disable the math operation function or query the math operation status.
Parameter
Name
<bool>
Return
The query returns 0 or 1.
Format
Example
:MATH:DISPlay ON
:MATH:OPERator
Syntax
:MATH:OPERator <opt>
:MATH:OPERator?
Description
Set or query the operator of the math operation.
Parameter
Name
<opt>
Return
The query returns ADD, SUBT, MULT, DIV, AND, OR, XOR, NOT, FFT, INTG, DIFF, SQRT,
Format
LOG, LN, EXP or ABS.
Example
:MATH:OPERator INTG
:MATH:SOURce1
Syntax
:MATH:SOURce1 <src>
:MATH:SOURce1?
Description
Set or query the source of the math operation.
Parameter
Name
<src>
Explanation
Return
The query returns CHAN1, CHAN2, CHAN3 or CHAN4.
Format
Example
:MATH:SOURce1 CHANnel3
DS1000Z Programming Guide
Type
Range
Bool
{{0|OFF}|{1|ON}}
Type
Range
Discrete
{ADD|SUBTract|MULTiply|DIVision|AND|OR|XOR|
NOT|FFT|INTG|DIFF|SQRT|LOG|LN|EXP|ABS}
Type
Discrete
For the operations which needs only one source, just this command will be used.
For the operations which needs two sources, this command is used to set source A.
Range
{CHANnel1|CHANnel2|CHANnel3|CHANnel4}
RIGOL
Default
0|OFF
Default
ADD
Default
CHANnel1
2-37