VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : SCPI Commands : :CALCulate{1-16}:OPTical Subsystem
 
:CALCulate{1-16}:OPTical Subsystem
The following commands provide for generating 2-port and 4-port E/O, O/E, and O/O measurements on optical conversion components and purely optical components. These commands are listed in the following subsections:
Optical Commands – General
E/O Measurement Commands – 2-Port Systems
E/O Measurement Commands – 4-Port Systems
O/E Measurement Commands – 2-Port Systems
O/E Measurement Commands – 4-Port Systems
O/O Measurement Commands – 2-Port Systems
O/O Measurement Commands – 4-Port Systems
Optical Commands – General
:CALCulate{1-16}:OPTical:ISON[:STATe] <char>
:CALCulate{1-16}:OPTical:ISON[:STATe]?
Description
The command sets the Optical Measurements on/off state on the indicated channel.
The query returns the Optical Measurements on/off state on the indicated channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:ISON ON
:CALC1:OPT:ISON?
 
:CALCulate{1-16}:OPTical:MSGS:LIST?
Description
Query outputs a copy of the Optical messages list.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:MSGS:LIST?
 
:CALCulate{1-16}:OPTical:TYPE?
Description
Query only. Outputs the type of Optical measurement that is currently loaded on the instrument.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<char> EO | OE | OO | NONE
Range
NA
Default Value
NONE
Syntax Example
:CALC1:OPT:TYPE?
 
E/O Measurement Commands – 2-Port Systems
:CALCulate{1-16}:OPTical:EO:CALCulate?
Description
De-embed the O/E Device characterization data from the E/O calibration of the given channel and return status.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Return status indicates one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO:CALC?
:CALCulate{1-16}:OPTical:EO:CALFile <string>
:CALCulate{1-16}:OPTical:EO:CALFile?
Description
The command sets the calibration filename for the E/O measurement on the given channel.
The query outputs the calibration filename for the E/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.chx'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.chx
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO:CALF 'c:\eofiles\myfile1.chx'
:CALC1:OPT:EO:CALF?
:CALCulate{1-16}:OPTical:EO:CHARfile <string>
:CALCulate{1-16}:OPTical:EO:CHARfile?
Description
The command sets the O/E device characterization filename to be used for the E/O measurement on the given channel.
The query outputs the O/E device characterization filename used for the E/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO:CHAR 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:EO:CHAR?
:CALCulate{1-16}:OPTical:EO:CHARfile:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:EO:CHARfile:SWAP[:STATe]?
Description
The command sets the O/E device characterization Swap flag to swap ports for the E/O measurement on the given channel.
The query outputs the O/E device characterization Swap flag to swap ports for the E/O measurement of the given channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:EO:CHAR:SWAP ON
:CALC1:OPT:EO:CHAR:SWAP?
:CALCulate{1-16}:OPTical:EO:EOPort <char>
:CALCulate{1-16}:OPTical:EO:EOPort?
Description
The command sets the E/O port assignment for the E/O measurement on the given channel.
The query outputs E/O port assignment for the E/O measurement of the given channel.
Cmd Parameters
<char> PORT1 | PORT2
Query Parameters
NA
Query Output
<char> PORT1 | PORT2
Range
NA
Default Value
PORT1
Syntax Example
:CALC1:OPT:EO:EOP PORT1
:CALC1:OPT:EO:EOP?
:CALCulate{1-16}:OPTical:EO:SETup[:TYPE] <string>
:CALCulate{1-16}:OPTical:EO:SETup[:TYPE]?
Description
The command sets the E/O measurement setup type (CHX/Current cal) to be used for measurement for the given channel. If CHX is chosen, a .chx file must be entered.
The query outputs the E/O measurement setup type (CHX/Current cal) for the given channel.
Related Cmd
:CALCulate{1-16}:OPTical:EO:CALFile <string>
:CALCulate{1-16}:OPTical:EO:CALFile?
Cmd Parameters
<char> CHX | CURRent
Query Parameters
NA
Query Output
<char> CHX | CURR
Range
NA
Default Value
CHX
Syntax Example
:CALC1:OPT:EO:SET CURR
:CALC1:OPT:EO:SET?
E/O Measurement Commands – 4-Port Systems
:CALCulate{1-16}:OPTical:EO4Port:CALCulate?
Description
De-embed the O/E Device characterization data from the multiport E/O calibration of the given channel and return status.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO4P:CALC?
:CALCulate{1-16}:OPTical:EO4Port:CALFile <string>
:CALCulate{1-16}:OPTical:EO4Port:CALFile?
Description
The command sets the calibration filename for the multiport E/O measurement on the given channel.
The query outputs the calibration filename for the multiport E/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.chx'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.chx
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO4P:CALF 'c:\eofiles\myfile1.chx'
:CALC1:OPT:EO4P:CALF?
:CALCulate{1-16}:OPTical:EO4Port:CHARfile <string>
:CALCulate{1-16}:OPTical:EO4Port:CHARfile?
Description
The command sets the O/E device characterization filename for the multiport E/O measurement on the given channel.
The query outputs the O/E device characterization filename for the multiport E/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO4P:CHAR 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:EO4P:CHAR?
:CALCulate{1-16}:OPTical:EO4Port:CHARfile:REASsign:PORT{1-4) <char>
:CALCulate{1-16}:OPTical:EO4Port:CHARfile:REASsign:PORT{1-4)?
Description
The command reassigns the O/E Port for the multiport E/O measurement on the given channel.
The query outputs the O/E Port assignment for the multiport E/O measurement of the given channel.
This command can only be used if configuration is Differential O/E.
Cmd Parameters
<char> PORT1 | PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT1 | PORT2 | PORT3 | PORT4
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:EO4P:CHAR:REAS:PORT1 PORT4
:CALC1:OPT:EO4P:CHAR:REAS:PORT1?
:CALCulate{1-16}:OPTical:EO4Port:CHARfile:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:EO4Port:CHARfile:SWAP[:STATe]?
Description
The command sets the O/E device characterization Swap flag to swap ports for the multiport E/O measurement on the given channel.
The query outputs the O/E device characterization Swap flag to swap ports for the multiport E/O measurement of the given channel.
This command can only be used if configuration is Single-ended O/E.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:EO4P:CHAR:SWAP ON
:CALC1:OPT:EO4P:CHAR:SWAP?
:CALCulate{1-16}:OPTical:EO4Port:CONFiguration <char>
:CALCulate{1-16}:OPTical:EO4Port:CONFiguration?
Description
The command sets the configuration of the multiport E/O measurement on the given channel.
The query outputs the configuration of the multiport E/O measurement of the given channel.
Cmd Parameters
<char> SESO | DESO | SEDO | DEDO
Definitions:
SESO = Single-ended E/O – Single-ended O/E
DESO = Differential E/O – Single-ended O/E
SEDO = Single-ended E/O – Differential O/E
DEDO = Differential E/O – Differential O/E
Query Parameters
NA
Query Output
<char> SESO | DESO | SEDO | DEDO
Range
NA
Default Value
SESO
Syntax Example
:CALC1:OPT:EO4P:CONF SESO
:CALC1:OPT:EO4P:CONF?
:CALCulate{1-16}:OPTical:EO4Port:EOPort <char>
:CALCulate{1-16}:OPTical:EO4Port:EOPort?
Description
The command sets the E/O port assignment for the multiport E/O measurement on the given channel.
The query outputs the E/O port assignment for the multiport E/O measurement of the given channel.
Cmd Parameters
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Range
NA
Default Value
PORT1
Syntax Example
:CALC1:OPT:EO4P:EOP PORT12
:CALC1:OPT:EO4P:EOP?
:CALCulate{1-16}:OPTical:EO4Port:OEPort <char>
:CALCulate{1-16}:OPTical:EO4Port:OEPort?
Description
The command sets the O/E port assignment for the multiport E/O measurement on the given channel.
The query outputs the O/E port assignment for the multiport E/O measurement of the given channel.
Cmd Parameters
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Range
NA
Default Value
PORT2
Syntax Example
:CALC1:OPT:EO4P:OEP PORT12
:CALC1:OPT:EO4P:OEP?
:CALCulate{1-16}:OPTical:EO4Port:SETup[:TYPE] <string>
:CALCulate{1-16}:OPTical:EO4Port:SETup[:TYPE]?
Description
The command sets the multiport E/O measurement setup type (CHX/Current cal) to be used for measurement for the given channel. If CHX is chosen, a chx file must be entered.
The query outputs the multiport E/O measurement setup type (CHX/Current cal) for the given channel.
Related Cmd
:CALCulate{1-16}:OPTical:EO4Port:CALFile <string>
:CALCulate{1-16}:OPTical:EO:CALFile?
Cmd Parameters
<char> CHX | CURRent
Query Parameters
NA
Query Output
<char> CHX | CURR
Range
NA
Default Value
CHX
Syntax Example
:CALC1:OPT:EO4P:SET CURR
:CALC1:OPT:EO4P:SET?
 
O/E Measurement Commands – 2-Port Systems
:CALCulate{1-16}:OPTical:OE:CALCulate?
Description
De-embed the E/O Device characterization data from the O/E calibration of the given channel and return status.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE:CALC?
:CALCulate{1-16}:OPTical:OE:CALFile <string>
:CALCulate{1-16}:OPTical:OE:CALFile?
Description
The command sets the calibration filename for the O/E measurement on the given channel.
The query outputs the calibration filename for the O/E measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.chx'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.chx
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE:CALF 'c:\eofiles\myfile1.chx'
:CALC1:OPT:OE:CALF?
:CALCulate{1-16}:OPTical:OE:CHARfile:EO <string>
:CALCulate{1-16}:OPTical:OE:CHARfile:EO?
Description
The command sets the E/O device characterization filename to be used for the O/E measurement on the given channel.
The query outputs the E/O device characterization filename used for the O/E measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE:CHAR:EO 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OE:CHAR:EO?
:CALCulate{1-16}:OPTical:OE:CHARfile:EO:MEASure?
Description
The query generates the E/O Device characterization data of the given channel and return status.
Prerequisite:
The following commands must be sent before measuring the E/O characterization data:
:CALCulate{1-16}:OPTical:OE:CALFile <string>
(Example) :CALC1:OPT:OE:CALF 'c:\eofiles\myfile1.chx'
:CALCulate{1-16}:OPTical:OE:CHARfile:OE <string>
(Example) :CALC1:OPT:OE:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALCulate{1-16}:OPTical:OE:CHARfile:TARGetfile <string>
(Example) :CALC1:OPT:OE:CHAR:TARG 'c:\eofiles\myfile1.s2p'
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE:CHAR:EO:MEAS?
:CALCulate{1-16}:OPTical:OE:CHARfile:OE <string>
:CALCulate{1-16}:OPTical:OE:CHARfile:OE?
Description
The command Sets the O/E device characterization filename to use for the E/O measurement on the given channel. (This corresponds to the GO MEASURE sequence on the UI.)
The query outputs the O/E device characterization filename to use for the E/O measurement on the given channel. (This corresponds to the GO MEASURE sequence on the UI.)
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OE:CHAR:OE?
:CALCulate{1-16}:OPTical:OE:CHARfile:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:OE:CHARfile:SWAP[:STATe]?
Description
The command sets the E/O device characterization Swap flag to swap ports for the O/E measurement on the given channel.
The query outputs the E/O device characterization Swap flag to swap ports for the O/E measurement of the given channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:OE:CHAR:SWAP ON
:CALC1:OPT:OE:CHAR:SWAP?
:CALCulate{1-16}:OPTical:OE:CHARfile:TARGetfile <string>
:CALCulate{1-16}:OPTical:OE:CHARfile:TARGetfile?
Description
The command sets the filename to store the generated E/O device characterization file for the E/O measurement on the given channel. (This corresponds to the GO MEASURE sequence on the UI.)
The query outputs the filename where the generated E/O device characterization file for the E/O measurement on the given channel. (This corresponds to the GO MEASURE sequence on the UI.)
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE:CHAR:TARG 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OE:CHAR:TARG?
:CALCulate{1-16}:OPTical:OE:EOPort <char>
:CALCulate{1-16}:OPTical:OE:EOPort?
Description
The command sets the E/O port assignment for the O/E measurement on the given channel.
The query outputs E/O port assignment for the O/E measurement of the given channel.
Cmd Parameters
<char> PORT1 | PORT2
Query Parameters
NA
Query Output
<char> PORT1 | PORT2
Range
NA
Default Value
PORT1
Syntax Example
:CALC1:OPT:OE:EOP PORT1
:CALC1:OPT:OE:EOP?
:CALCulate{1-16}:OPTical:OE:SETup[:TYPE] <string>
:CALCulate{1-16}:OPTical:OE:SETup[:TYPE]?
Description
The command sets the O/E measurement setup type (CHX/Current cal) to be used for measurement for the given channel. If CHX is selected, a chx file must be entered.
The query outputs the O/E measurement setup type (CHX/Current cal) for the given channel.
Related Cmd
:CALCulate{1-16}:OPTical:OE:CALFile <string>
:CALCulate{1-16}:OPTical:OE:CALFile?
Cmd Parameters
<char> CHX | CURRent
Query Parameters
NA
Query Output
<char> CHX | CURR
Range
NA
Default Value
CHX
Syntax Example
:CALC1:OPT:OE:SET CURR
:CALC1:OPT:OE:SET?
 
O/E Measurement Commands – 4-Port Systems
:CALCulate{1-16}:OPTical:OE4Port:CALCulate?
Description
De-embed the E/O Device characterization data from the multiport O/E calibration of the given channel and return status.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CALC?
:CALCulate{1-16}:OPTical:OE4Port:CALFile <string>
:CALCulate{1-16}:OPTical:OE4Port:CALFile?
Description
The command sets the calibration filename for the multiport O/E measurement on the given channel.
The query outputs the calibration filename for the multiport O/E measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.chx'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.chx
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CALF 'c:\eofiles\myfile1.chx'
:CALC1:OPT:OE4P:CALF?
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:EO <string>
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:EO?
Description
The command sets the E/O device characterization filename for the multiport O/E measurement on the given channel.
The query outputs the E/O device characterization filename for the multiport O/E measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CHAR:EO 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OE4P:CHAR:EO?
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:EO:MEASure? <NR1>
Description
The query generates the E/O Device characterization data of the given channel and return status.
Prerequisite:
The following commands must be sent before measuring the E/O characterization data:
:CALCulate{1-16}:OPTical:OE4Port:CALFile <string>
(Example) :CALC1:OPT:OE4P:CALF 'c:\eofiles\myfile1.chx'
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:OE <string>
(Example) :CALC1:OPT:OE4P:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:TARGetfile <string>
(Example) :CALC1:OPT:OE4P:CHAR:TARG 'c:\eofiles\myfile1.s2p'
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CHAR:EO:MEAS?
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:OE <string>
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:OE?
Description
The command sets the O/E device characterization filename for the multiport O/E measurement on the given channel. This is the O/E characterization file used in the GO MEASURE process in order to create an E/O file before measuring the DUT O/E device.
The query outputs the O/E device characterization filename for the multiport O/E measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OE4P:CHAR:OE?
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:REASsign:PORT{1-4) <char>
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:REASsign:PORT{1-4)?
Description
The command reassigns the E/O Port for the multiport O/E measurement on the given channel.
The query outputs the E/O Port assignment for the multiport O/E measurement of the given channel.
This command can only be used if the Configuration is Differential E/O.
Cmd Parameters
<char> PORT1 | PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT1 | PORT2 | PORT3 | PORT4
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CHAR:REAS:PORT1 PORT4
:CALC1:OPT:OE4P:CHAR:REAS:PORT1?
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:SWAP[:STATe]?
Description
The command sets the E/O device characterization Swap flag to swap ports for the multiport O/E measurement on the given channel.
The query outputs the E/O device characterization Swap flag to swap ports for the multiport O/E measurement of the given channel.
This command can only be used if the Configuration is Single-ended E/O.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:OE4P:CHAR:SWAP ON
:CALC1:OPT:OE4P:CHAR:SWAP?
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:TARGetfile <string>
:CALCulate{1-16}:OPTical:OE4Port:CHARfile:TARGetfile?
Description
The command sets the filename to store the generated E/O characterization file (created as part of the GO MEASURE process) for the given channel.
The query outputs the filename where the generated E/O device characterization file is stored for the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OE4P:CHAR:TARG 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OE4P:CHAR:TARG?
:CALCulate{1-16}:OPTical:OE4Port:CONFiguration <char>
:CALCulate{1-16}:OPTical:OE4Port:CONFiguration?
Description
The command sets the configuration of the multiport O/E measurement on the given channel.
The query outputs the configuration of the multiport O/E measurement of the given channel.
Cmd Parameters
<char> SESO | DESO | SEDO | DEDO
Definitions:
SESO = Single-ended E/O – Single-ended O/E
DESO = Differential E/O – Single-ended O/E
SEDO = Single-ended E/O – Differential O/E
DEDO = Differential E/O – Differential O/E
Query Parameters
NA
Query Output
<char> SESO | DESO | SEDO | DEDO
Range
NA
Default Value
SESO
Syntax Example
:CALC1:OPT:OE4P:CONF SESO
:CALC1:OPT:OE4P:CONF?
:CALCulate{1-16}:OPTical:OE4Port:EOPort <char>
:CALCulate{1-16}:OPTical:OE4Port:EOPort?
Description
The command sets the E/O port assignment for the multiport O/E measurement on the given channel.
The query outputs the E/O port assignment for the multiport O/E measurement of the given channel.
Cmd Parameters
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Range
NA
Default Value
PORT1
Syntax Example
:CALC1:OPT:OE4P:EOP PORT12
:CALC1:OPT:OE4P:EOP?
:CALCulate{1-16}:OPTical:OE4Port:OEPort <char>
:CALCulate{1-16}:OPTical:OE4Port:OEPort?
Description
The command sets the O/E port assignment for the multiport O/E measurement on the given channel.
The query outputs the O/E port assignment for the multiport O/E measurement of the given channel.
Cmd Parameters
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Range
NA
Default Value
PORT2
Syntax Example
:CALC1:OPT:OE4P:OEP PORT12
:CALC1:OPT:OE4P:OEP?
:CALCulate{1-16}:OPTical:OE4Port:SETup[:TYPE] <string>
:CALCulate{1-16}:OPTical:OE4Port:SETup[:TYPE]?
Description
The command sets the multiport O/E measurement setup type (CHX/Current cal) to be used for measurement for the given channel. If CHX is chosen, a chx file must be entered.
The query outputs the multiport O/E measurement setup type (CHX/Current cal) for the given channel.
Related Cmd
:CALCulate{1-16}:OPTical:OE4Port:CALFile <string>
:CALCulate{1-16}:OPTical:EO4Port:CALFile?
Cmd Parameters
<char> CHX | CURRent
Query Parameters
NA
Query Output
<char> CHX | CURR
Range
NA
Default Value
CHX
Syntax Example
:CALC1:OPT:OE4P:SET CURR
:CALC1:OPT:OE4P:SET?
 
O/O Measurement Commands – 2-Port Systems
 
:CALCulate{1-16}:OPTical:OO:CALCulate?
Description
De-embed the O/O Device characterization data from the E/O and O/E calibration of the given channel and returns the status.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CALC?
:CALCulate{1-16}:OPTical:OO:CALFile <string>
:CALCulate{1-16}:OPTical:OO:CALFile?
Description
The command sets the calibration filename for the O/O measurement on the given channel.
The query outputs the calibration filename for the O/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.chx'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.chx
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CALF 'c:\eofiles\myfile1.chx'
:CALC1:OPT:OO:CALF?
:CALCulate{1-16}:OPTical:OO:CHARfile:EO <string>
:CALCulate{1-16}:OPTical:OO:CHARfile:EO?
Description
The command sets the E/O device characterization filename to be used for the O/O measurement on the given channel.
The query outputs the E/O device characterization filename used for the O/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CHAR:EO 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO:CHAR:EO?
:CALCulate{1-16}:OPTical:OO:CHARfile:EO:MEASure?
Description
The query generates the E/O Device characterization data of the given channel and return status.
Prerequisite:
The following commands must be sent before measuring the E/O characterization data:
:CALCulate{1-16}:OPTical:OO:CALFile <string>
(Example) :CALC1:OPT:OO:CALF 'c:\eofiles\myfile1.chx'
:CALCulate{1-16}:OPTical:OO:CHARfile:OE <string>
(Example) :CALC1:OPT:OO:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALCulate{1-16}:OPTical:OO:CHARfile:EO:TARGetfile <string>
(Example) :CALC1:OPT:OO:CHAR:EO:TARG 'c:\eofiles\myfile1.s2p'
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CHAR:EO:MEAS?
:CALCulate{1-16}:OPTical:OO:CHARfile:EO:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:OO:CHARfile:EO:SWAP[:STATe]?
Description
The command sets the E/O device characterization Swap flag to swap ports for the O/O measurement on the given channel.
The query outputs the E/O device characterization Swap flag to swap ports for the O/O measurement of the given channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:OO:CHAR:EO:SWAP ON
:CALC1:OPT:OO:CHAR:EO:SWAP?
:CALCulate{1-16}:OPTical:OO:CHARfile:EO:TARGetfile <string>
:CALCulate{1-16}:OPTical:OO:CHARfile:EO:TARGetfile?
Description
The command sets the filename to store the generated E/O device characterization file for the given channel.
The query outputs the filename where the generated E/O device characterization file is stored for the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CHAR:EO:TARG 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO:CHAR:EO:TARG?
:CALCulate{1-16}:OPTical:OO:CHARfile:OE <string>
:CALCulate{1-16}:OPTical:OO:CHARfile:OE?
Description
The command sets the O/E device characterization filename to use for the O/O measurement on the given channel.
The query outputs the O/E device characterization filename to use for the O/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO:CHAR:OE?
:CALCulate{1-16}:OPTical:OO:CHARfile:OE:MEASure?
Description
The query generates the O/E Device characterization data of the given channel and return status.
Prerequisite:
The following commands must be sent before measuring the O/E characterization data:
:CALCulate{1-16}:OPTical:OO:CALFile <string>
(Example) :CALC1:OPT:OO:CALF 'c:\eofiles\myfile1.chx'
:CALCulate{1-16}:OPTical:OO:CHARfile:EO <string>
(Example) :CALC1:OPT:OO:CHAR:EO 'c:\eofiles\myfile1.s2p'
:CALCulate{1-16}:OPTical:OO:CHARfile:OE:TARGetfile <string>
(Example) :CALC1:OPT:OO:CHAR:OE:TARG 'c:\eofiles\myfile1.s2p'
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CHAR:OE:MEAS?
:CALCulate{1-16}:OPTical:OO:CHARfile:OE:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:OO:CHARfile:OE:SWAP[:STATe]?
Description
The command sets the O/E device characterization Swap flag to swap ports for the O/O measurement on the given channel.
The query outputs the O/E device characterization Swap flag to swap ports for the O/O measurement of the given channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:OO:CHAR:OE:SWAP ON
:CALC1:OPT:OO:CHAR:OE:SWAP?
:CALCulate{1-16}:OPTical:OO:CHARfile:OE:TARGetfile <string>
:CALCulate{1-16}:OPTical:OO:CHARfile:OE:TARGetfile?
Description
The command sets the filename to store the generated O/E device characterization file for the given channel.
The query outputs the filename where the generated O/E device characterization file is stored for the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO:CHAR:OE:TARG 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO:CHAR:OE:TARG?
:CALCulate{1-16}:OPTical:OO:EOPort <char>
:CALCulate{1-16}:OPTical:OO:EOPort?
Description
The command sets the E/O port assignment for the O/O measurement on the given channel.
The query outputs E/O port assignment for the O/O measurement of the given channel.
Cmd Parameters
<char> PORT1 | PORT2
Query Parameters
NA
Query Output
<char> PORT1 | PORT2
Range
NA
Default Value
PORT1
Syntax Example
:CALC1:OPT:OO:EOP PORT1
:CALC1:OPT:OO:EOP?
:CALCulate{1-16}:OPTical:OO:SETup[:TYPE] <string>
:CALCulate{1-16}:OPTical:OO:SETup[:TYPE]?
Description
The command sets the O/O measurement setup type (CHX/Current cal) to be used for measurement for the given channel. If CHX is chosen, a chx file must be entered.
The query outputs the O/O measurement setup type (CHX/Current cal) for the given channel.
Related Cmd
:CALCulate{1-16}:OPTical:OE:CALFile <string>
:CALCulate{1-16}:OPTical:OE:CALFile?
Cmd Parameters
<char> CHX | CURRent
Query Parameters
NA
Query Output
<char> CHX | CURR
Range
NA
Default Value
CHX
Syntax Example
:CALC1:OPT:OO:SET CURR
:CALC1:OPT:OO:SET?
 
O/O Measurement Commands – 4-Port Systems
:CALCulate{1-16}:OPTical:OO4Port:CALCulate?
Description
De-embed the O/O Device characterization data from the multiport E/O and O/E calibration of the given channel and return status.
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CALC?
:CALCulate{1-16}:OPTical:OO4Port:CALFile <string>
:CALCulate{1-16}:OPTical:OO4Port:CALFile?
Description
The command sets the calibration filename for the multiport O/O measurement on the given channel.
The query outputs the calibration filename for the multiport O/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.chx'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.chx
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CALF 'c:\eofiles\myfile1.chx'
:CALC1:OPT:OO4P:CALF?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO <string>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO?
Description
The command sets the E/O device characterization filename for the multiport O/O measurement on the given channel.
The query outputs the E/O device characterization filename for the multiport O/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:EO 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO4P:CHAR:EO?
 
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:MEASure?
Description
The query generates the E/O Device characterization data of the given channel and return status.
Prerequisite:
The following commands must be sent before measuring the E/O characterization data:
:CALCulate{1-16}:OPTical:OO4Port:CALFile <string>
(Example) :CALC1:OPT:OO4P:CALF 'c:\eofiles\myfile1.chx'
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE <string>
(Example) :CALC1:OPT:OO4P:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:TARGetfile <string>
(Example) :CALC1:OPT:OO4P:CHAR:EO:TARG 'c:\eofiles\myfile1.s2p'
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:EO:MEAS?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:REASsign:PORT{1-4} <char>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:REASsign:PORT{1-4}?
Description
The command reassigns the E/O Port for the multiport O/O measurement on the given channel.
The query outputs the E/O Port assignment for the multiport O/O measurement of the given channel.
This command can only be used if the Configuration is Differential O/E.
Cmd Parameters
<char> PORT1 | PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT1 | PORT2 | PORT3 | PORT4
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:EO:REAS:PORT1 PORT4
:CALC1:OPT:OO4P:CHAR:EO:REAS:PORT1?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:SWAP[:STATe]?
Description
The command sets the E/O device characterization Swap flag to swap ports for the multiport O/O measurement on the given channel.
The query outputs the E/O device characterization Swap flag to swap ports for the multiport O/O measurement of the given channel.
This command can only be used if the Configuration is Single-ended E/O.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:OO4P:CHAR:EO:SWAP ON
:CALC1:OPT:OO4P:CHAR:EO:SWAP?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:TARGetfile <string>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO:TARGetfile?
Description
The command sets the filename to store the generated E/O device characterization file for the given channel.
The query outputs the filename where the generated E/O device characterization file is stored for the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:EO:TARG 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO4P:CHAR:EO:TARG?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE <string>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE?
Description
The command sets the O/E device characterization filename for the multiport O/O measurement on the given channel.
The query outputs the O/E device characterization filename for the multiport O/O measurement of the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:OE 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO4P:CHAR:OE?
 
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:MEASure? <NR1>
Description
The query generates the O/E Device characterization data of the given channel and return status.
Prerequisite:
The following commands must be sent before measuring the O/E characterization data:
:CALCulate{1-16}:OPTical:OO4Port:CALFile <string>
(Example) :CALC1:OPT:OO4P:CALF 'c:\eofiles\myfile1.chx'
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:EO <string>
(Example) :CALC1:OPT:OO4P:CHAR:EO 'c:\eofiles\myfile1.s2p'
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:TARGetfile <string>
(Example) :CALC1:OPT:OO4P:CHAR:OE:TARG 'c:\eofiles\myfile1.s2p'
Cmd Parameters
NA
Query Parameters
NA
Query Output
<NR1> Query returns one of the following:
0 – Valid
1 – Invalid
2 – InvalidSnPFile
3 – InvalidCHXFile
4 – InvalidCalType
5 – IncompatibleFreq
6 – IncompatiblePort
7 – NoCalExist
8 – WARNING:Extrapolation
9 – InvalidPortSelection
10 – InvalidSnPFileType
11 – InvalidEOFileType
12 – InvalidOEFileType
13 – WARNING:CHXFileContainsOpticalSetup
14 – InvalidPortAssignment
15 – InvalidPortReassignment
16 – NoCHXFileExist
17 – NoSnPFileExist
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:OE:MEAS?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:REASsign:PORT{1-4} <char>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:REASsign:PORT{1-4}?
Description
The command reassigns the O/E Port for the multiport O/O measurement on the given channel.
The query outputs the O/E Port assignment for the multiport O/O measurement of the given channel.
This command can only be used if the Configuration is Differential O/E.
Cmd Parameters
<char> PORT1 | PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT1 | PORT2 | PORT3 | PORT4
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:OE:REAS:PORT1 PORT4
:CALC1:OPT:OO4P:CHAR:OE:REAS:PORT1?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:SWAP[:STATe] <char>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:SWAP[:STATe]?
Description
The command sets the O/E device characterization Swap flag to swap ports for the multiport O/O measurement on the given channel.
The query outputs the O/E device characterization Swap flag to swap ports for the multiport O/O measurement of the given channel.
This command can only be used if the Configuration is Single-ended O/E.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:CALC1:OPT:OO4P:CHAR:OE:SWAP ON
:CALC1:OPT:OO4P:CHAR:OE:SWAP?
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:TARGetfile <string>
:CALCulate{1-16}:OPTical:OO4Port:CHARfile:OE:TARGetfile?
Description
The command sets the filename to store the generated O/E device characterization file for the given channel.
The query outputs the filename where the generated O/E device characterization file is stored for the given channel.
Cmd Parameters
<string> 'c:\eofiles\myfile1.s2p'
Query Parameters
NA
Query Output
<char> c:\eofiles\myfile1.s2p
Range
NA
Default Value
NA
Syntax Example
:CALC1:OPT:OO4P:CHAR:OE:TARG 'c:\eofiles\myfile1.s2p'
:CALC1:OPT:OO4P:CHAR:OE:TARG?
:CALCulate{1-16}:OPTical:OO4Port:CONFiguration <char>
:CALCulate{1-16}:OPTical:OO4Port:CONFiguration?
Description
The command sets the configuration of the multiport O/O measurement on the given channel.
The query outputs the configuration of the multiport O/O measurement of the given channel.
Cmd Parameters
<char> SESO | DESO | SEDO | DEDO
Definitions:
SESO = Single ended E/O – Single ended O/E
DESO = Differential E/O – Single ended O/E
SEDO = Single ended E/O – Differential O/E
DEDO = Differential E/O – Differential O/E
Query Parameters
NA
Query Output
<char> SESO | DESO | SEDO | DEDO
Range
NA
Default Value
SESO
Syntax Example
:CALC1:OPT:OO4P:CONF SESO
:CALC1:OPT:OO4P:CONF?
:CALCulate{1-16}:OPTical:OO4Port:EOPort <char>
:CALCulate{1-16}:OPTical:OO4Port:EOPort?
Description
The command sets the E/O port assignment for the multiport O/O measurement on the given channel.
The query outputs the E/O port assignment for the multiport O/O measurement of the given channel.
Cmd Parameters
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Range
NA
Default Value
PORT1
Syntax Example
:CALC1:OPT:OO4P:EOP PORT12
:CALC1:OPT:OO4P:EOP?
:CALCulate{1-16}:OPTical:OO4Port:OEPort <char>
:CALCulate{1-16}:OPTical:OO4Port:OEPort?
Description
The command sets the O/E port assignment for the multiport O/O measurement on the given channel.
The query outputs the O/E port assignment for the multiport O/O measurement of the given channel.
Cmd Parameters
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Query Parameters
NA
Query Output
<char> PORT12 | PORT13 | PORT14 | PORT23 | PORT24 | PORT34 | PORT1 |
PORT2 | PORT3 | PORT4
Range
NA
Default Value
PORT2
Syntax Example
:CALC1:OPT:OO4P:OEP PORT12
:CALC1:OPT:OO4P:OEP?
:CALCulate{1-16}:OPTical:OO4Port:SETup[:TYPE] <string>
:CALCulate{1-16}:OPTical:OO4Port:SETup[:TYPE]?
Description
The command sets the multiport O/O measurement setup type (CHX/Current cal) to be used for measurement for the given channel. If CHX is chosen, a chx file must be entered.
The query outputs the multiport O/O measurement setup type (CHX/Current cal) for the given channel.
Related Cmd
:CALCulate{1-16}:OPTical:OO4Port:CALFile <string>
:CALCulate{1-16}:OPTical:OE4Port:CALFile?
Cmd Parameters
<char> CHX | CURRent
Query Parameters
NA
Query Output
<char> CHX | CURR
Range
NA
Default Value
CHX
Syntax Example
:CALC1:OPT:OO4P:SET CURR
:CALC1:OPT:OO4P:SET?