Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication
supersedes that in all previously published material. Specifications and price change privileges reserved.
TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
®
SourceXpress
is a registered trademark of Tektronix, Inc.
Contacting Tektronix
Tektronix, Inc.
14150 SW Karl Braun Drive
P.O. Box 5 0 0
Beaverto
USA
For product information, sales, service, and technical support:
n, OR 97077
In North America, call 1-800-833-9200.
Worldwide, visit www.tek.com to find contacts in your area.
This programmer manual provides information on how to use commands for
remotely controlling the Optical Signals plug-in application.
The Optical Signals plug-in can be installed in either the SourceXpress software
application or an AWG70000A series arbitrary waveform generator.
Communication with the plug-in is through the SourceXpress programmatic
interface or the AWG70000A series instrument’s programmatic interface. Using
a single VISA or raw socket session, it is possible to communicate with both
SourceXpress and AWG70000A series instruments.
For information on the Remote Control, GPIB Parameters, LAN Parameters,
Connecting to the Instrument using GPIB, and Setting up GPIB Communication,
refer to t
Manual.
he AWG70000A series Arbitrary Waveform Generators Programmer
Optical Signals Plug-in Programmer Manual1-1
Documentation
Documentation
In addition to this Optical Signals Programmer Guide, the following
documentation is included with this application:
Optical Signals Help. The help provides in-depth operation and user interface
help.
Optical Signals User Manual (PDF). This is adapted from the Optical Signal
help system.
1-2Optical Signals Plug-in Programmer Manual
Syntax and Commands
Command Syntax
For information on the Syntax Overview, Command and Query Structure,
Clearing the Instrument, Command Entry, Parameter Types, SCPI Commands
and Queries,
Programmer Manual.
refer to the AWG70000A Series Arbitrary Waveform Generators
Optical Signals Plug-in Programmer Manual2-1
Command Syntax
2-2Optical Signals Plug-in Programmer Manual
Command Groups
Control comma
nds
Table 2-1: Control commands and their descriptions
CommandDescriptio
WPLugin:AC
OPTical:RESetResets the Optical signal plug-in by setting all the values within the module to their
Tive
Sets or retu
of the other PI commands of the active plug-in.
default values.
n
rns the active waveform creation plug-in. This command allows the use
Compile commands
Table 2-
CommandDescription
OPTical:COMPileCompiles and generates a waveform using the Optical plug-in compile settings.
OPTical:COMPile:CANCelCancels a compilation currently in progress.
OPTical:COMPile:CORRection:APPLy:XSets or returns the Apply Corrections to X state (enabled or disabled) for the Compile
OPTical:COMPile:CORRection:APPLy:YSets or returns the Apply Corrections to Y state (enabled or disabled) for the Compile
OPTi
OPTical:COMPile:CORRection:PATH:YSets or returns the path of the corrections file to apply to the Y data source during
OPTical:COMPile:NAMeSets or returns the prefix to use to name the compiled waveforms.
OPTical:COMPile:PLAYSets or returns the Play after assign state (enabled or disabled) for the Compile
O
O
OPTical:COMPile:WLENgth:WAUtoSets or returns if the waveform length will be automatically calculated at compile time.
OPTical:COMPile:WOVerwriteSets or returns the Overwrite existing waveform state (enabled or disabled) for
OPTical:COMPile:XICHannelSets or returns which channel the X data source I waveform is assigned to upon
OPTical:COMPile:XQCHannelSets or returns which channel the X data source Q w aveform is assigned to upon
OPTical:COMPile:XWLengthSets or returns the X-Polarized waveform length.
OPTical:COMPile:YICHannelSets or returns which channel the Y data source I waveform is assigned to upon
2: Compile commands and their descriptions
cal:COMPile:CORRection:PATH:X
PTical:COMPile:SRATe
PTical:COMPile:SRATe:AUTO
Settings.
ings.
Sett
or returns the path of the corrections file to apply to the X data source during
Sets
compile.
compile.
ttings.
Se
ets or returns the sampling rate for the compile settings.
S
ets or returns the value that indicates if the sampling rate will be automatically
S
calculated at compile time.
compiling waveforms.
compile.
compile.
compile.
Optical Signals Plug-in Programmer Manual2-3
Command Groups
Table 2-2: Compile commands and their descriptions (cont.)
CommandDescription
OPTical:COMPile:YQCHannelSets or returns which channel the Y data source Q waveform is assigned to upon
compile.
OPTical:COMPile:YWLengthSets or returns the Y-Polarized waveform length.
Setup commands
Table 2-3: Setup commands and their descriptions
CommandDescription
OPTical:MODESets or returns the Optical Polarization mode, Single or Dual.
OPTical:BRATeSets or returns the Baud Rate of the optical signal.
OPTical:XPOLarization:BBOFfsetSets or returns the Base Band Offset of X-Polarized optical
signals.
OPTical:YPOLarization:BBOFfsetSets or returns the Base Band Offset of Y-Polarized optical
signals.
Modulation commands
Table 2-4: Modulation commands and their descriptions
CommandDescription
OPTical:MODulationSets or returns the Modulation type, using either predefined
modulation types or using specific modulation parameters.
OPTical[:PREDefined]:PAMSets or returns the PAM modulation type.
OPTical[:PREDefined]:PAM:NVAlueSets or returns the PAM Normalized Level of the specified index
in the PAM table.
OPTical[:PREDefined]:PSKSets or returns the PSK modulation type.
OPTical[:PREDefined]:QAMSets or returns the QAM modulation type.
OPTical[:PREDefined]:TYPESets or returns the modulation type when using a predefined
type.
Custom modulation commands
Table 2-5: Custom modulation commands and their descriptions
CommandDescription
OPTical:CMODulation:ADDMapAdds the specified number of maps to the Custom Modulation
map.
OPTical:CMODulation:DELMapDeletes a single map from the Custom Modulation table.
2-4Optical Signals Plug-in Programmer Manual
Command Groups
Table 2-5: Custom modulation commands and their descriptions (cont.)
CommandDescription
OPTical:CMODulation:ISYMbolSets or returns the I symbol value of the currently selected
Custom Modulation map.
OPTical:CMODulation:MMODeSets or returns the Modulation mode for the Custom Modulation.
OPTical:CMODulation:MOFFsetSets or returns the O ffset modulation state (enabled or disabled)
for Custom Modulation.
OPTical:CMODulation:QSYMbolSets or returns the Q symbol value of the currently selected
Custom Modulation map.
OPTical:CMODulation:SELMapSets or returns the selected m ap in the Custom Modulation table.
Data source commands
Table 2-6: Data source commands and their descriptions
CommandDescription
OPTical:XPOLarization:DSEBit:DATASets or returns the X-Polarization Data Pattern type for the
specified Bit index when the X Data Source is set to define a
pattern type for each bit.
OPTical:XPOLarization:DSEBit:DATA:FILESets or returns the X-Polarization Data Pattern file and file path
for the specified Bit index when the X Data Source is set to
define a pattern type for each bit.
OPTical:XPOLarization:DSEBit:DATA:PATTernSets or returns the X-Polarization D ata Pattern for the specified
Bit index when the X Data Source is set to define a pattern type
for each bit.
OPTical:XPOLarization:DSEBit:DATA:PRBSSets or returns the X-Polarization PBRS data type for the
specified Bit index when the X Data Source is set to define a
pattern type for each bit.
OPTical:XPOLarization:DSTYpeSets or returns the Data Source Pattern type of the X-Polarized
OPTical:XPOLarization[:SDSource]:DATASets or returns the X-Polarization Data Pattern type when the X
Sets or returns the X-Polarization PRBS Polynomial Expression
for the User Defined PRBS for the specified Bit index when the X
Data Source is set to define a pattern type for each bit.
expression and shift register to their default values for the
specified Bit index when the X Data Source is set to define a
pattern type for each bit.
Sets or returns the X-Polarization PRBS Polynomial Shift
Register Initial Value for the User Defined PRBS for the specified
Bit index when the X Data Source is set to define a pattern type
for each bit.
optical signal.
Data Source is set to use a single data source.
Optical Signals Plug-in Programmer Manual2-5
Command Groups
Table 2-6: Data source commands and their descriptions (cont.)
CommandDescription
OPTical:XPOLarization[:SDSource]:DATA:FILESets or returns the X-Polarization Data Pattern file and file path
when the X Data Source is set to use a single data source.
OPTical:XPOLarization[:SDSource]:DATA:PATTernSets or returns the X -Polarization user defined data pattern when
the X Data Source is set to use a single data source.
OPTical:XPOLarization[:SDSource]:DATA:PRBSSets or returns the X-Polarization PBRS data type when the Data
Source Pattern is set to PRBS when the X Data Source is set to
use a single data source.
OPTical:YPOLarization:DSTYpeSets or returns the Data Source Pattern type of the Y-Polarized
OPTical:YPOLarization[:SDSource]:DATASets or returns the Y-Polarization Data Pattern type when the Y
Sets or returns the X-Polarization PRBS Polynomial Expression
for the User Defined PRBS when the X Data Source is set to
use a single data source.
Resets the X-Polarization User Defined PRBS polynomial
expression and shift register to their default values when the X
Data Source is set to use a single data source.
Sets or returns the X-Polarization PRBS Polynomial Shift
Register Initial Value for the User Defined PRBS when the X
Data Source is set to use a single data source.
specified Bit index when the Y Data Source is set to define a
pattern type for each bit.
for the specified Bit index when the Y Data Source is set to
define a pattern type for each bit.
Bit index when the Y Data Source is set to define a pattern type
for each bit.
specified Bit index when the Y Data Source is set to define a
pattern type for each bit.
Sets or returns the Y-Polarization PRBS Polynomial Expression
for the User Defined PRBS for the specified Bit index when the Y
Data Source is set to define a pattern type for each bit.
expression and shift register to their default values for the
specified Bit index when the Y Data Source is set to define a
pattern type for each bit.
Sets or returns the Y-Polarization PRBS Polynomial Shift
Register Initial Value for the User Defined PRBS for the specified
Bit index when the Y Data Source is set to define a pattern type
for each bit.
optical signal.
Data Source is set to use a single data source.
2-6Optical Signals Plug-in Programmer Manual
Command Groups
Table 2-6: Data source commands and their descriptions (cont.)
CommandDescription
OPTical:YPOLarization[:SDSource]:DATA:FILESets or returns the Y-Polarization Data Pattern file and file path
when the Y Data Source is set to use a single data source.
OPTical:YPOLarization[:SDSource]:DATA:PATTernSets or returns the Y-Polarization user defined data pattern when
the Y Data Source is set to use a single data source.
OPTical:YPOLarization[:SDSource]:DATA:PRBSSets or returns the Y-Polarization PBRS data type when the Data
Source Pattern is set to PRBS when the Y Data Source is set to
use a single data source.
Sets or returns the Y-Polarization PRBS Polynomial Expression
for the User Defined PRBS when the Y Data Source is set to
use a single data source.
Resets the Y-Polarization User Defined PRBS polynomial
expression and shift register to their default values when the Y
Data Source is set to use a single data source.
Sets or returns the Y-Polarization PRBS Polynomial Shift
Register Initial Value for the User Defined PRBS when the Y
Data Source is set to use a single data source.
Filter commands
Table 2-7: Filter commands and their descriptions
CommandDescription
OPTical:FILTer:ALPHaSets or returns the Alpha (filter roll off) value.
OPTical:FILTer:CLENgthSets or returns the Filter Convolution Length in symbols.
OPTical:FILTer:FILeSets or returns the path of the filter fileforuserdefined filter.
OPTical:FILTer:TYPESets or returns the Filter Type.
IQ impairments commands
Table 2-8: IQ impairments commands and their descriptions
CommandDescription
OPTical:IQIMpairment:CLEAkage:IOFFsetSets or returns the I Offset percentage for C arrier Leakage for IQ
Impairments.
OPTical:IQIMpairment:CLEAkage:IQOFfsetSets or returns the IQ Offset level for Carrier Leakage for IQ
Impairments.
OPTical:IQIMpairment:CLEAkage:QOFFsetSets or returns the Q Offset percentage for Carrier Leakage for
IQ Impairments.
OPTical:IQIMpairment:CLEAkage:TONSets or returns the Carrier Leakage state (enabled or disabled)
for IQ Impairments.
Optical Signals Plug-in Programmer Manual2-7
Command Groups
Table 2-8: IQ impairments commands and their descriptions (cont.)
CommandDescription
OPTical:IQIMpairment:IQIMbalance:IMBalanceSets or returns the Imbalance percentage for IQ Imbalance for
IQ Impairments.
OPTical:IQIMpairment:IQIMbalance:TONSets or returns the IQ Imbalance state (enabled or disabled)
for IQ Impairments.
OPTical:IQIMpairment:IQSWap:TONSets or r eturns the Swap I & Q state (enabled or disabled) for IQ
Impairments.
OPTical:IQIMpairment:NLDistortion:AM2KSets or returns the k2 level for AM/AM Nonlinear Distortions for
IQ Impairments.
OPTical:IQIMpairment:NLDistortion:AM3KSets or returns the k3 level for AM/AM Nonlinear Distortions for
IQ Impairments.
OPTical:IQIMpairment:NLDistortion:PM2KSets or returns the k2 level for AM/PM Nonlinear Distortions for
IQ Impairments.
OPTical:IQIMpairment:NLDistortion:PM3KSets or returns the k3 level for AM/PM Nonlinear Distortions for
IQ Impairments.
OPTical:IQIMpairment:NLDistortion:TONSets or returns the Nonlinear Distortions state (enabled or
disabled) for IQ Impairments.
OPTical:IQIMpairment:QERRor:ERRorSets or returns the I/Q Error percentage for Quadrature Error
for IQ Impairments.
OPTical:IQIMpairment:QERRor:TONSets or returns the Quadrature Error state (enabled or disabled)
for IQ Impairments.
S-Parameter commands
Table 2-9: S-Parameter commands and their descriptions
CommandDescription
OPTical:SPARameter:MODESets or returns the S-Parameter mode (Cascading or
Non-Cascading).
OPTical:SPARameter:SFORmatSets or returns the currently used signal format for all
S-Parameter values.
OPTical:SPARameter:SFORmat:LPOLarizationsSets or returns the S-Parameters Couple Settings state (enabled
or disabled).
OPTical:SPARameter:TONSets or returns the S-Parameter state (enabled or disabled).
OPTical:SPARameter:BANDwidthSets or returns the S-Parameter bandwidth when setting
manually.
OPTical:SPARameter:BANDwidth:AUTOSets or returns the S-P arameter automatic bandwidth calculation
setting.
OPTical:SPARameter:CASCading:AGGRessor2[:ENABle]Sets or returns the aggressor 2 signal type state (enabled or
disabled) in Cascading mode.
OPTical:SPARameter:CASCading:AGGRessor[n]:AMPLitudeSets or returns the specified Aggressor's amplitude, in Cascading
mode.
2-8Optical Signals Plug-in Programmer Manual
Command Groups
Table 2-9: S-Parameter commands and their descriptions (cont.)
CommandDescription
OPTical:SPARameter:CASCading:AGGRessor[n]:CTALkSets or returns the specified Aggressor's crosstalk type, in
Cascading mode.
OPTical:SPARameter:CASCading:AGGRessor[n]:DRATeSets or returns the specified Aggressor's data rate, in Cascading
mode.
OPTical:SPARameter:CASCading:AGGRessor[n]:SIGNalSets or returns specified A ggressor's signal type, in Cascading
mode.
OPTical:SPARameter:CASCading:AGGRessor[n]:SIGNal:FILESets or returns the filepath to the aggressor file for the specified
Aggressor, in Cascading mode.
OPTical:SPARameter:CASCading:AGGRessor[n]:SIGNal:PRBSSets or returns the specified Aggressor's PRBS signal type, in
Cascading mode.
OPTical:SPARameter:CASCading:DEEMbedSets or returns whether the Cascading S-Parameters is to
de-embed (invert) the S-Parameters, in Cascading mode.
OPTical:SPARameter:CASCading:STAGe[m]:DRX[n]Sets or returns the S-Parameter port assignment of the specified
Stage and the channel’s specified receiver port number (Rx-Port)
in Cascading mode and Differential Signalling Scheme (where
applicable).
OPTical:SPARameter:CASCading:STAGe[m]:DTX[n]Sets or returns the S-Parameter port assignment of the specified
Stage and the channel’s specified transmission port number
(Tx-Port) in Cascading mode and Differential S ignalling Scheme
(where applicable).
OPTical:SPARameter:CASCading:STAGe[m]:ENABleSets or returns the state of the specified Cascaded S-Parameter
stage (enabled or disabled).
OPTical:SPARameter:CASCading:STAGe[m]:FILESets or returns the filepath for the specified S -Parameters
Cascading Stage, in Cascading mode.
OPTical:SPARameter:CASCading:STAGe[m]:RX[n]Sets or returns the S-Parameter port assignment of the specified
Stage and the channel’s specified receiver port number (Rx-Port)
in Cascading mode and Single-Ended Signalling Scheme ( where
applicable).
OPTical:SPARameter:CASCading:STAGe[m]:SSCHemeSets or returns the S-Parameter Signalling Scheme, in
Cascading mode.
OPTical:SPARameter:CASCading:STAGe[m]:TX[n]Sets or returns the S-Parameter port assignment of the specified
Stage and the channel’s specified transmission port number
(Tx-Port) in Cascading mode and Single-Ended Signalling
Scheme (where applicable).
OPTical:SPARameter:CASCading:STYPeSets or returns S-Parameter signal type (victim or aggressor), in
Cascading mode.
OPTical:SPARameter:CASCading:TYPESets or returns the S-Parameter number of ports, in Cascading
mode.
OPTical:SPARameter:NCAScading:AGGRessor2[:ENABle]Sets or returns the aggressor 2 signal type state (enabled or
disabled) in Non-Cascading mode.
OPTical:SPARameter:NCAScading:AGGRessor[n]:AMPLitudeSets or returns the specified Aggressor's amplitude, in
Non-Cascading mode.
Optical Signals Plug-in Programmer Manual2-9
Command Groups
Table 2-9: S-Parameter commands and their descriptions (cont.)
CommandDescription
OPTical:SPARameter:NCAScading:AGGRessor[n]:CTALkSets or returns the specified Aggressor's crosstalk type, in
Non-Cascading mode.
OPTical:SPARameter:NCAScading:AGGRessor[n]:DRATeSets or returns the specified Aggressor's data rate, in
Non-Cascading mode.
OPTical:SPARameter:NCAScading:AGGRessor[n]:SIGNalSets or returns specified Aggressor's signal type, in
Non-Cascading mode.
OPTical:SPARameter:NCAScading:AGGRessor[n]:SIGNal:FILESets or returns the filepath to the aggressor file for the specified
the second map in the Custom Modulation table is selected.
OPTical:COMPile (No Query Form)
This command compiles and generates a waveform using the Optical plug-in
compile settings.
The active plug-in must be Optical signal.
Conditio
ns
Group
Syntax
This is an overlapping command. Overlapping commands run c oncurrently with
other commands, allowing additional commands to start before the overlapping
command has finished.
Compile
OPTical:COMPile
LATION:SELMAP 3
ULATION:SELMAP?
selects the third map in the Custom
might return 2.00 00000000, indicating that
Examples
OPTICAL:COMPILE compiles and generates the waveforms.
OPTical:COMPile:CANCel (No Query Form)
s command cancels a compilation currently in progress.
Thi
Conditions
Group
Syntax
Examples
The active plug-in must be Optical signal.
Compile
OPTical:COMPile:CANCel
OPTICAL:COMPILE:CANCEL immediately ends the current compile process.
Optical Signals Plug-in Programmer Manual2-15
Commands in alphabetical order
OPTical:COMP
Related Commands
Arguments
Examples
ile:CORRection:APPLy:X
This command sets or returns the Apply Corrections to X state (enabled or
disabled) for the Compile Settings.