VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : SCPI Commands : :CALCulate{1-16}:NXN Subsystem
 
:CALCulate{1-16}:NXN Subsystem
The :CALCulate{1-16}:NXN subsystem commands provide combining three device pairings to determine the behavior of each individual device by combining the S2P file for each device.
Calibration Option Subsystems
Related calibration option configuration and control subsystems are:
:CALCulate{1-16}:CORRection Subsystem - Adapters/Merge Calibration
:CALCulate{1-16}:EXTRaction Subsystem - Network Extraction
:CALCulate{1-16}:NXN Subsystem
:SENSe{1-16}:CORRection:COLLect:FLEXible Subsystem
:SENSe{1-16}:CORRection:COLLect:HYBRid Subsystem
I/O Configuration and File Operation Subsystems
Related subsystems for I/O configuration and file operation are:
:CALCulate{1-16}:FORMat Subsystem - SnP Data
:CALCulate{1-16}:NXN Subsystem
:CALCulate{1-16}[:SELected]:DATA Subsystem
:CALCulate{1-16}[:SELected]:TDATA Subsystem
:FORMat Subsystem
:HCOPy Subsystem
:MMEMory Subsystem
 
:CALCulate{1-16}:NXN:FILe <char1>, <string>
:CALCulate{1-16}:NXN:FILe?
Description
The command sets the indicated NXN device or device-pair S2P filename on the indicated channel where the device refers to a single device or a device pair. An example is when defining a three-device system such as three mixers where one device becomes the calibration standard. The parameters are:
DEV1 = Device 1
DEV2 = Device 2
DEV3 = Device 3
DEV12 = Device 1 and Device 2
DEV13 = Device 1 and Device 3
DEV23 = Device 2 and Device 3
On the indicated channel, the query outputs the indicated NXN device or device pair S2P filename.
Cmd Parameters
<char1> DEV1 | DEV2 | DEV3 | DEV12 | DEV13 | DEV23
<string> Filename and path in the form: ‘x:\directory\filename.s2p’ where x:\directory\filename.s2p must exist. See Programming the VectorStar Series VNAs, Notational Conventions for more information.
Query Parameters
<char1> DEV1 | DEV2 | DEV3 | DEV12 | DEV13 | DEV23
Range
NA
Default Value
NA
Syntax Example
:CALC1:NXN:FIL DEV2,’c:\AnritsuVNA\nxnfilename.s2p’
:CALC1:NXN:FIL? DEV2
 
:CALCulate{1-16}:NXN:IFPath:DEEMbedding[:STATe] <char1>
:CALCulate{1-16}:NXN:IFPath:DEEMbedding[:STATe]?
Description
The command sets the NXN IF path de-embedding on/off state on the indicated channel. The query outputs the NXN IF path de-embedding on/off state on the indicated channel.
Cmd Parameters
<char1> 1 | 0 | ON | OFF
Query Parameters
<char1> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:NXN:IFP:DEEM ON
:CALC1:NXN:IFP:DEEM?
1
 
:CALCulate{1-16}:NXN:IFPath:DIRection <char1>
:CALCulate{1-16}:NXN:IFPath:DIRection?
Description
The command sets the NXN IF path sweep direction on the indicated channel. The query outputs the NXN IF path sweep direction on the indicated channel.
Cmd Parameters
<char1> FORward | REVerse
Query Parameters
<char1> FOR | REV
Range
NA
Default Value
FOR
Syntax Example
:CALC1:NXN:IFP:DIR REV
:CALC1:NXN:IFP:DIR?
 
:CALCulate{1-16}:NXN:IFPath:FILe <string>
:CALCulate{1-16}:NXN:IFPath:FILe?
Description
The command sets the NXN IF path S2P filename on the indicated channel. The query outputs the NXN IF path S2P filename on the indicated channel.
Cmd Parameters
<string> Filename and path in the form: ’x:\directory\filename.s2p’ where x:\directory\filename.s2p must exist.
Query Parameters
<string> Filename and path in the form: x:\directory\filename.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:NXN:IFP:FIL ’C:\filename.s2p’
:CALC1:NXN:IFP:FIL?
 
:CALCulate{1-16}:NXN:IFPath:MODified:FILe <string>
:CALCulate{1-16}:NXN:IFPath:MODified:FILe?
Description
The command sets the NXN Modified IF path S2P filename on the indicated channel. The query outputs the NXN Modified IF path S2P filename on the indicated channel.
Cmd Parameters
<string> Filename and path in the form: ’x:\directory\filename.s2p’ where x:\directory\ must exist. See definition of <string>.
Query Parameters
<char1> Filename and path in the form: x:\directory\filename.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:NXN:IFP:MOD:FIL ’C:\filename.s2p’
:CALC1:NXN:IFP:MOD:FIL?
C:\filename.s2p
 
:CALCulate{1-16}:NXN:IFPath:MODified:SAVe
Description
The command saves the NXN Modified IF path S2P file on the indicated channel to where it was defined. The file name and path must already exist.
No query.
Cmd Parameters
NA
Range
NA
Default Value
NA
Syntax Example
:CALC1:NXN:IFP:MOD:FIL ’C:\filename.s2p’
:CALC1:NXN:IFP:MOD:SAV
Related Cmd
:CALCulate{1-16}:NXN:IFPath:FILe
 
:CALCulate{1-16}:NXN:LENGth <char1>, <NRf>
:CALCulate{1-16}:NXN:LENGth?
Description
The command sets the indicated NXN device length on the indicated channel where:
DEV1 = Device 1
DEV2 = Device 2
DEV3 = Device 3
The query outputs the indicated NXN device length on the indicated channel.
Cmd Parameters
<char1> DEV1 | DEV2 | DEV3
<NRf> The input parameter is in Meters.
Query Parameters
<char1> DEV1 | DEV2 | DEV3
Range
MPND
Default Value
0.00000000000E+000
Syntax Example
:CALC1:NXN:LENG DEV2, 2E-2
:CALC1:NXN:LENG? DEV2
 
:CALCulate{1-16}:NXN:SOLVe <char1>
Description
The command solves for the indicated NXN device and save the S2P file on the indicated channel where:
DEV1 = Device 1
DEV2 = Device 2
DEV3 = Device 3
No query.
Cmd Parameters
<char1> DEV1 | DEV2 | DEV3
Query Parameters
NA
Range
NA
Default Value
DEV1
Syntax Example
:CALC1:NXN:SOLV DEV2