VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : 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}:PARameter{1-16}:COUPling 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]:TRACE{1-16}:MARKer{1-12} Subsystem
:CALCulate{1-16}[:SELected]:TDATA Subsystem
:DISPlay Subsystem
:CALCulate{1-16}[:SELected]:MATH:DATa:FILe:MEMorize
Description
This command is only available with Option 45 installed and when Power Sweep [CW] is selected.
Stores the data file math to memory of the indicated channel.
No query.
Cmd Parameters
NA
Query Parameters
NA
Range
NA
Default Value
NA
Syntax Example
:CALC1:MATH:DAT:FIL:MEM
:CALCulate{1-16}[:SELected]:MATH:DISPlay <char>
:CALCulate{1-16}[:SELected]:MATH:DISPlay?
Description
Sets 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.
Returns the trace memory display operation for the active trace of the indicated channel.
Cmd Parameters
<char> DATA | MEM | DTM | DMM | OFF
Query Parameters
<char> 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 <char>
:CALCulate{1-16}[:SELected]:MATH:FUNCtion?
Description
Sets the trace memory math operation on the active trace of the indicated channel.
Returns the trace memory math operation on the active trace of the indicated channel.
Cmd Parameters
<char> ADD | SUBTract | MULTiply | DIVide
Query Parameters
<char> ADD | SUBT | MULT | DIV
Range
NA
Default Value
DIV
Syntax Example
:CALC1:MATH:FUNC ADD
:CALC1:MATH:FUNC?
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:CTUse <char>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:CTUse?
Description
Sets the source of the equation that will be applied for inter-trace math to the active trace.
Returns the source that is currently in use for inter-trace math to the active trace.
Cmd Parameters
<char> SIMPle | EQUation
Query Output
<char> SIMP | EQU
Range
NA
Default Value
SIMP
Syntax Example
:CALC1:MATH:INTE:CTU EQU
:CALC1:MATH:INTE:CTU?
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation <string>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation?
Description
Sets the equation to be used when the source is set to use the equation editor.
Returns the current equation.
Cmd Parameters
<string> The equation to be used.
Query Output
<string> The equation that is currently used.
Range
NA
Default Value
The active trace number
Syntax Example
:CALC1:MATH:INTE:EQU “Tr3 / Tr4”
:CALC1:MATH:INTE:EQU?
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation:LOAD <string>
Description
Sets the file path from which the current equation will be loaded.
No query.
Cmd Parameters
<string> The path from which the current equation will be loaded.
Query Output
NA
Range
NA
Default Value
NA
Syntax Example
:CALC1:MATH:INTE:EQU:LOAD “C:/AnritsuVNA/Data/Equation.eqn”
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation:SAVE <string>
Description
Sets the file path to which the current equation will be saved.
No query.
Cmd Parameters
<string> The path to which the current equation will be saved.
Query Output
NA
Range
NA
Default Value
NA
Syntax Example
:CALC1:MATH:INTE:EQU:SAVE “C:/AnritsuVNA/Data/Equation.eqn”
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation:SNP:FILe{1-4} <string>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation:SNP:FILe{1-4}?
Description
Sets the SNP filename 1 (or 2 or 3 or 4) for Equation Editor, to be shared between all channels.
Returns the SNP filename 1 (or 2 or 3 or 4) for Equation Editor, to be shared between all channels.
Related Cmd
:SYSTem:MATH:INTErtrace:EQUation:SNP:FILe{1-16}?
Cmd Parameters
<string> 'c:\myfile1.s1p' | 'c:\myfile2.s2p' | 'c:\myfile3.s3p' | 'c:\myfile4.s4p'
Query Parameters
NA
Query Output
<string> 'c:\myfile1.s1p' | 'c:\myfile2.s2p' | 'c:\myfile3.s3p' | 'c:\myfile4.s4p'
Range
NA
Default Value
NA
Syntax Example
:CALC1:MATH:INTE:EQU:SNP:FIL1 'c:\myfile4.s4p'
:CALC1:MATH:INTE:EQU:SNP:FIL2?
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation:TDOMain[:STATe] <char>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:EQUation:TDOMain[:STATe]?
Description
Sets whether the inter-trace math equation editor will use time domain data for all traces.
Returns whether the inter-trace math equation editor uses time domain data for all traces.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:MATH:INTE:EQU:TDOM ON
:CALC1:MATH:INTE:EQU:TDOM?
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:FUNCtion <char>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace:FUNCtion?
Description
Sets the inter-trace memory math operation on the active trace of the indicated channel. The result will be displayed on the active trace.
Returns the inter-trace memory math operation on the active trace of the indicated channel.
Cmd Parameters
<char> ADD | SUBTract | MULTiply | DIVide
Query Parameters
<char> 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
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.
Returns 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] <char>
:CALCulate{1-16}[:SELected]:MATH:INTErtrace[:STATe]?
Description
Sets the inter-trace math operation on/off state on the active trace of the indicated channel.
Returns the on/off state of the inter-trace math operation on the active trace of the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:MATH:INTE ON
:CALC1:MATH:INTE?
:CALCulate{1-16}[:SELected]:MATH:MEMorize
Description
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