VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : SCPI Commands : :CALCulate{1-16}[:SELected]:MATH Subsystem
 
:CALCulate{1-16}[:SELected]:MATH Subsystem
The :CALCulate{1-16}[:SELected]:MATH subsystem commands provide configuration and control for inter-trace mathematics operations.
Trace Subsystems
Related trace subsystems are:
:CALCulate{1-16}:PARameter and :PARameter{1-16} Subsystem
:CALCulate{1-16}:PARameter{1-16}:FSIMulator Subsystem
:CALCulate{1-16}:PARameter{1-16}:SELect Subsystem
:CALCulate{1-16}:POLar Subsystem
:CALCulate{1-16}:PROCessing:ORDer Subsystem
:CALCulate{1-16}[:SELected]:CONVersion Subsystem
:CALCulate{1-16}[:SELected]:DATA Subsystem
:CALCulate{1-16}[:SELected]:FORmat Subsystem
:CALCulate{1-16}[:SELected]:MATH Subsystem
:CALCulate{1-16}[:SELected]:MDATA Subsystem
:CALCulate{1-16}[:SELected]:SMITh Subsystem
:CALCulate{1-16}[:SELected]:SMOothing Subsystem
:CALCulate{1-16}[:SELected]:TDATA Subsystem
:DISPlay Subsystem
 
:CALCulate{1-16}[:SELected]:MATH:DISPlay <char1>
:CALCulate{1-16}[:SELected]:MATH:DISPlay?
Description
The command selects the trace memory display operation for the active trace of the indicated channel where:
DATA = Display only the current sweep data
MEM = Display only the memory data
DTM = Display both the current sweep data and the memory data at the same time.
DMM = Combine the sweep data and the memory data mathematically using a addition, subtraction, multiplication, or division and display only the results.
OFF = Turn the trace display.
The query outputs the trace memory display operation for the active trace of the indicated channel.
Cmd Parameters
<char1> DATA | MEM | DTM | DMM | OFF
Query Parameters
<char1> DATA | MEM | DTM | DMM | OFF
Range
NA
Default Value
DATA
Syntax Example
:CALC1:MATH:DISP MEM
:CALC1:MATH:DISP?
 
:CALCulate{1-16}[:SELected]:MATH:FUNCtion <char1>
:CALCulate{1-16}[:SELected]:MATH:FUNCtion?
Description
The command selects the trace memory math operation on the active trace of the indicated channel. The query outputs the trace memory math operation on the active trace of the indicated channel.
Cmd Parameters
<char1> ADD | SUBTract | MULTiply | DIVide
Query Parameters
<char1> ADD | SUBT | MULT | DIV
Range
NA
Default Value
DIV
Syntax Example
:CALC1:MATH:FUNC ADD
:CALC1:MATH:FUNC?
 
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:FUNCtion <char1>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:FUNCtion?
Description
The command selects the inter-trace memory math operation on the active trace of the indicated channel. The result will be displayed on the active trace. The query outputs the inter-trace memory math operation on the active trace of the indicated channel.
Cmd Parameters
<char1> ADD | SUBTract | MULTiply | DIVide
Query Parameters
<char1> ADD | SUBT | MULT | DIV
Range
NA
Default Value
DIV
Syntax Example
:CALC1:MATH:INTE:FUNC ADD
:CALC1:MATH:INTE:FUNC?
 
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:OPERand{1-2}:DEFine <char1>, <char2>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:OPERand{1-2}:DEFine?
Description
The command sets the trace number and data type for the indicated operand on the active trace of the indicated channel. Note that both parameters must be defined.
The <char1> value sets the trace number from the following selections:
TR1 = Trace 1
TR2 = Trace 2
TR3 = Trace 3
TR4 = Trace 4
TR5 = Trace 5
TR6 = Trace 6
TR7 = Trace 7
TR8 = Trace 8
TR9 = Trace 9
TR10 = Trace 10
TR11 = Trace 11
TR12 = Trace 12
TR13 = Trace 13
TR14 = Trace 14
TR15 = Trace 15
TR16 = Trace 16
The <char2> value sets the data operand as:
DATA = Display just the current sweep data
DMM = Combine the sweep data and the memory data mathematically using a addition, subtraction, multiplication, or division and display only the results.
The query outputs the trace number and data type for the indicated operand on the active trace of the indicated channel.
Cmd Parameters
<char1> TR1 | TR2 | TR3 | TR4 | TR5 | TR6 | TR7 | TR8 | TR9 | TR10 | TR11 | TR12 | TR13 | TR14 | TR15 | TR16
<char2> DATA | DMM
Query Parameters
<char1>, <char2>
Range
NA
Default Value
TR1, DATA
Syntax Example
:CALC1:MATH:INTE:OPER1:DEF TR1, DATA
:CALC1:MATH:INTE:OPER1:DEF?
 
:CALCulate{1-16}[:SELected]:MATH:INTErtrace[:STATe] <char1>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace[:STATe]?
Description
The command toggles on/off the inter-trace math operation on the active trace of the indicated channel. The query outputs the on/off state of the inter-trace math operation on the active trace of the indicated channel.
Cmd Parameters
<char1> 1 | 0 | ON | OFF
Query Parameters
<char1> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:MATH:INTE ON
:CALC1:MATH:INTE?
:CALCulate{1-16}[:SELected]:MATH:MEMorize
Description
The command stores the active trace data to memory for the channel indicated. No query.
Cmd Parameters
NA
Range
NA
Default Value
NA
Syntax Example
:CALC1:MATH:MEM