VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : SCPI Commands : :SENSe{1-16}:SA Subsystem
 
:SENSe{1-16}:SA Subsystem
The :SENSe{1-16}:SA subsystem commands are used to configure and use the Spectrum Analysis application.
:SENSe{1-16}:SA:BANDwidth[:RESolution] <NRf>
:SENSe{1-16}:SA:BANDwidth[:RESolution]?
Description
Sets the resolution bandwidth for the indicated Spectrum Analysis channel.
Returns the resolution bandwidth for the indicated Spectrum Analysis channel.
Also sets :SENSe{1-16}:SA:BANDwidth[:RESolution]:AUTO[:STATe] <NRf> to OFF.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR1> The output parameter is in Hertz.
Range
1 to 1E6
The system will automatically select the closest IF bandwidth from the following options:
1, 3, 10, 30, 100, 300 Hz
1, 3, 10, 30, 100, 300 kHz
1 MHz
Default Value
1E6
Syntax Example
:SENS1:SA:BAND 1.01E2
:SENS1:SA:BAND?
:SENSe{1-16}:SA:BANDwidth[:RESolution]:AUTO[:STATe] <NRf>
:SENSe{1-16}:SA:BANDwidth[:RESolution]:AUTO[:STATe]?
Description
Sets the resolution bandwidth state for the indicated Spectrum Analysis channel. When ON, the resolution bandwidth is set based on Span/RBW ratio.
Returns the resolution bandwidth state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
1
Syntax Example
:SENS1:SA:BAND:AUTO ON
:SENS1:SA:BAND:AUTO?
:SENSe{1-16}:SA:DETection:FUNCtion <char>
:SENSe{1-16}:SA:DETection:FUNCtion?
Description
Sets the classical sweep detection mode for Spectrum Analysis on the indicated channel.
Returns the classical sweep detection mode for Spectrum Analysis on the indicated channel.
PEAK: The measurement with the maximum linear magnitude of the measurements in the subrange of the given parameter will be displayed. This is the default selection.
MINimum: The measurement with the minimum linear magnitude of the measurements in the subrange of the given parameter will be displayed. This is useful for very dense signals in the sweep range of interest.
MEAN: The arithmetic mean of the linear magnitudes of the given parameter will be used as the result for the subrange. This can also be useful for noise-like or stochastic signals or those that are otherwise very dense
RMS: The root-mean-square value of the linear magnitudes of the given parameter will be used as the result for the subrange. This can be useful for noise-like signals.
Cmd Parameters
<char> PEAK | MINimum | MEAN | RMS
Query Parameters
NA
Query Output
<char> PEAK | MIN | MEAN | RMS
Range
NA
Default Value
PEAK
Syntax Example
:SENS1:SA:DET:FUNC RMS
:SENS1:SA:DET:FUNC?
:SENSe{1-16}:SA:DUAL:DRIVe:PORT <char>
:SENSe{1-16}:SA:DUAL:DRIVe:PORT?
Description
Requires Option 31: Dual Source to be installed.
Valid only on 4-port system when both sources are active.
Sets the dual drive active port pair for Spectrum Analysis on the indicated channel.
Returns the dual drive active port pair for Spectrum Analysis on the indicated channel.
Cmd Parameters
<char> P1P3 | P2P4 | P2P3 | P1P4
Query Parameters
NA
Query Output
<char> P1P3 | P2P4 | P2P3 | P1P4
Range
NA
Default Value
P1P3
Syntax Example
:SENS1:SA:DUAL:DRIV:PORT P2P4
:SENS1:SA:DUAL:DRIV:PORT?
:SENSe{1-16}:SA:EXTModule:LEVeling:TYPE <char>
:SENSe{1-16}:SA:EXTModule:LEVeling:TYPE?
Description
Sets the external module leveling type for Spectrum Analysis on the indicated channel.
Returns the external module leveling type for Spectrum Analysis on the indicated channel.
Cmd Parameters
<char> RFLEVeling | IFLEVeling
Query Parameters
NA
Query Output
<char> RFLEV | IFLEV
Range
NA
Default Value
RFLEV
Syntax Example
:SENS1:SA:EXTM:LEV:TYPE RFLEV
:SENS1:SA:EXTM:LEV:TYPE?
:SENSe{1-16}:SA:EXTModule:TYPE <char>
:SENSe{1-16}:SA:EXTModule:TYPE?
Description
Sets the external module control type for Spectrum Analysis on the indicated channel.
Returns the external module control type for Spectrum Analysis on the indicated channel.
OFF = All programmatic control of the external module is turned OFF.
MMW = Programmatic control of a mmWave module is turned ON.
MODMMW = Programmatic control of a Modular mmWave module is turned ON.
MODBB = Programmatic control of a Modular Broadband module is turned ON.
MODEB = Programmatic control of a Modular E-Band module is turned ON.
MODWB = Programmatic control of a Modular W-Band module is turned ON.
MODBB145 = Programmatic control of a Modular 145 GHz Broadband module is turned ON.
MODBANDED145 = Programmatic control of a Modular 145 GHz Banded module is turned ON
MODBB220 = Programmatic control of a Modular 220 GHz Broadband module is turned ON.
MODBANDED220 = Programmatic control of a Modular 220 GHz Banded module is turned ON
Note that in turning the External Module Control on or off, this command:
Cannot determine if a Test Set is attached.
If a Test Set is attached, cannot determine the Test Set power state.
If a Test Set is attached, cannot change the Test Set power state (i.e. the command cannot turn the Test Set on/off).
If a Test Set is attached, cannot determine the Test Set type.
Cmd Parameters
<char> OFF | MMW | MODMMW | MODBB | MODEB | MODWB| MODBB145 | MODBANDED145 | MODBB220 | MODBANDED220
Query Parameters
NA
Query Output
<char> OFF | MMW | MODMMW | MODBB | MODEB | MODWB| MODBB145 | MODBANDED145 | MODBB220 | MODBANDED220
Range
NA
Default Value
OFF
Syntax Example
:SENS1:SA:EXTM:TYPE MODBB
:SENS1:SA:EXTM:TYPE?
:SENSe{1-16}:SA:FREQuency:CENTer <NRF>
:SENSe{1-16}:SA:FREQuency:CENTer?
Description
Sets the center value of the sweep range for the indicated Spectrum Analysis channel.
Returns the center value of the sweep range for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR3> The output parameter is in Hertz.
Range
See Minimum/Maximum Instrument Frequency and Related Parameters.
Default Value
See Minimum/Maximum Instrument Frequency and Related Parameters.
Syntax Example
:SENS1:SA:FREQ:CENT 10.0E9
:SENS1:SA:FREQ:CENT?
:SENSe{1-16}:SA:FREQuency:SPAN <NRf>
:SENSe{1-16}:SA:FREQuency:SPAN?
Description
Sets the span value of the sweep range for the indicated Spectrum Analysis channel.
Returns span value of the sweep range status for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR3> The output parameter is in Hertz.
Range
See Minimum/Maximum Instrument Frequency and Related Parameters.
Default Value
See Minimum/Maximum Instrument Frequency and Related Parameters.
Syntax Example
:SENS1:SA:FREQ:SPAN 10.0E9
:SENS1:SA:FREQ:SPAN?
:SENSe{1-16}:SA:FREQuency:SPAN:BANDwidth[:RESolution]:RATio <NRf>
:SENSe{1-16}:SA:FREQuency:SPAN:BANDwidth[:RESolution]:RATio?
Description
Sets the frequency span/RBW ratio for the indicated Spectrum Analysis channel.
Returns the frequency span/RBW ratio for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is a unitless number.
Query Parameters
NA
Query Output
<NR1> The output parameter is an integer.
Range
1 to 1E7
Default Value
100
Syntax Example
:SENS1:SA:FREQ:SPAN:BAND:RAT 100
:SENS1:SA:FREQ:SPAN:BAND:RAT?
:SENSe{1-16}:SA:FREQuency:STARt <NRF>
:SENSe{1-16}:SA:FREQuency:STARt?
Description
Sets the start value of the sweep range for the indicated Spectrum Analysis channel.
Returns the start value of the sweep range for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR3> The output parameter is in Hertz.
Range
See Minimum/Maximum Instrument Frequency and Related Parameters.
Default Value
See Minimum/Maximum Instrument Frequency and Related Parameters.
Syntax Example
:SENS1:SA:FREQ:STAR 2.0E9
:SENS1:SA:FREQ:STAR?
:SENSe{1-16}:SA:FREQuency:STOP <NRF>
:SENSe{1-16}:SA:FREQuency:STOP?
Description
Sets the stop value of the sweep range for the indicated Spectrum Analysis channel.
Returns the stop value of the sweep range for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR3> The output parameter is in Hertz.
Range
See Minimum/Maximum Instrument Frequency and Related Parameters.
Default Value
See Minimum/Maximum Instrument Frequency and Related Parameters.
Syntax Example
:SENS1:SA:FREQ:STOP 50.0E9
:SENS1:SA:FREQ:STOP?
:SENSe{1-16}:SA:FREQuency:ZERO:SPAN <NRf>
:SENSe{1-16}:SA:FREQuency:ZERO:SPAN?
Description
Sets the zero span frequency for the indicated Spectrum Analysis channel.
Returns the zero span frequency status for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR3> The output parameter is in Hertz.
Range
See Minimum/Maximum Instrument Frequency and Related Parameters.
Default Value
See Minimum/Maximum Instrument Frequency and Related Parameters.
Syntax Example
:SENS1:SA:FREQ:ZERO:SPAN 10.0E9
:SENS1:SA:FREQ:ZERO:SPAN?
:SENSe{1-16}:SA:IF:GAIN:AUTO[:STATe] <char>
:SENSe{1-16}:SA:IF:GAIN:AUTO[:STATe]?
Description
Sets the auto IF Gain state for the indicated Spectrum Analysis channel.
Returns the auto IF Gain state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SENS1:SA:IF:GAIN:AUTO ON
:SENS1:SA:IF:GAIN:AUTO?
:SENSe{1-16}:SA:IMAGe:REJection[:STATe] <char>
:SENSe{1-16}:SA:IMAGe:REJection[:STATe]?
Description
Sets the image rejection state for the indicated Spectrum Analysis channel.
Returns the image rejection state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
1
Syntax Example
:SENS1:SA:IMAG:REJ ON
:SENS1:SA:IMAG:REJ?
:SENSe{1-16}:SA:MODE <char>
:SENSe{1-16}:SA:MODE?
Description
Sets the sweep mode for Spectrum Analysis on the indicated channel. This selects how the instrument will actually sweep over the requested frequency range.
Returns the sweep mode for Spectrum Analysis on the indicated channel.
VNA: In this ‘VNA-like’ mode, the instrument will measure only at the points in the frequency list (and segmented sweep is available). Thus, signals not precisely at those points will not be seen. This mode is fast and ideal when the frequencies of interest are known.
CLASSical: In the ‘Classical’ mode, all frequencies in the range are scanned with adjacent RBW-sized chunks. This is more like a traditional spectrum analyzer and signals will not be missed, but it can be a much slower measurement.
Cmd Parameters
<char> VNA | CLASsical
Query Parameters
NA
Query Output
<char> VNA | CLAS
Range
NA
Default Value
VNA
Syntax Example
:SENS1:SA:MODE CLAS
:SENS1:SA:MODE?
:SENSe{1-16}:SA:SOURce:INTernal:COMMon:OFFSet[:STATe] <NRf>
:SENSe{1-16}:SA:SOURce:INTernal:COMMon:OFFSet[:STATe]?
Description
Sets the internal source common offset state for the indicated Spectrum Analysis channel.
Requires Internal Sources to be ~<15MHz away from Receivers.
Returns the internal source common offset state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SENS1:SA:SOUR:INT:COMM:OFFS ON
:SENS1:SA:SOUR:INT:COMM:OFFS?
:SENSe{1-16}:SA:SOURce:INTernal{1-2}:CW <char>
:SENSe{1-16}:SA:SOURce:INTernal(1-2}:CW?
Description
Requires Option 31: Dual Source to be installed to use Source 2.
Sets the CW mode state of the indicated internal source for the indicated Spectrum Analysis channel.
Returns the CW mode state of the indicated internal source for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SENS1:SA:SOUR:INT1:CW ON
:SENS1:SA:SOUR:INT1:CW?
:SENSe{1-16}:SA:SOURce:INTernal{1-2}:FREQuency:CW <NRf>
:SENSe{1-16}:SA:SOURce:INTernal(1-2}:FREQuency:CW?
Description
Requires Option 31: Dual Source to be installed to use Source 2.
Sets the CW mode frequency of the indicated internal source for the indicated Spectrum Analysis channel.
Returns the CW mode frequency of the indicated internal source for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in Hertz.
Query Parameters
NA
Query Output
<NR3> The output parameter is in Hertz.
Range
NA
Default Value
0.00000000000E+000
Syntax Example
:SENS1:SA:SOUR:INT1:FREQ:CW 5.0E4
:SENS1:SA:SOUR:INT1:FREQ:CW?
:SENSe{1-16}:SA:SOURce:INTernal:PHASe <NRf>
:SENSe{1-16}:SA:SOURce:INTernal:PHASe?
Description
Requires Option 31: Dual Source to be installed.
Sets the phase offset between internal sources for the indicated Spectrum Analysis channel.
Returns the phase offset between internal sources for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is in degrees.
Query Parameters
NA
Query Output
<NRf> The output parameter is in degrees.
Range
–360 to +360
Default Value
0
Syntax Example
:SENS1:SA:SOUR:INT:PHAS 1.5E1
:SENS1:SA:SOUR:INT:PHAS?
:SENSe{1-16}:SA:SOURce:INTernal:PHASe:SYNChronization[:STATE] <char>
:SENSe{1-16}:SA:SOURce:INTernal:PHASe:SYNChronization[:STATE]?
Description
Requires Option 31: Dual Source to be installed.
Sets the internal source phase synchronization state for the indicated Spectrum Analysis channel. When ON, this forces a repeatable (sweep to sweep) phase relationship between source 1 and source 2 (even in mm-wave modes) at the expense of some increase in trace noise.
Returns the internal source phase synchronization state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SENS1:SA:SOUR:INT:PHAS:SYNC ON
:SENS1:SA:SOUR:INT:PHAS:SYNC?
:SENSe{1-16}:SA:SOURce:INTernal:SPUR:REDuction[:STATe] <char>
:SENSe{1-16}:SA:SOURce:INTernal:SPUR:REDuction[:STATe][:STATe]?
Description
Sets the internal source spur reduction state for the indicated Spectrum Analysis channel.
Returns the internal source spur reduction state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SENS1:SA:SOUR:INT:SPUR:RED ON
:SENS1:SA:SOUR:INT:SPUR:RED?
:SENSe{1-16}:SA:SOURce:INTernal{1-2}:STATe <char>
:SENSe{1-16}:SA:SOURce:INTernal(1-2}:STATe?
Description
Requires Option 31: Dual Source to be installed to use Source 2.
Sets the state of the indicated internal source for the indicated Spectrum Analysis channel.
Returns the state of the indicated internal source for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> ACTive | INACtive
Query Parameters
NA
Query Output
<char> ACT | INAC
Range
NA
Default Value
INAC
Syntax Example
:SENS1:SA:SOUR:INT1:STAT INAC
:SENS1:SA:SOUR:INT1:STAT?
:SENSe{1-16}:SA:SWEep:POINt <NRf>
:SENSe{1-16}:SA:SWEep:POINt?
Description
Sets the number of measurement points for the indicated Spectrum Analysis channel.
Returns the number of measurement points for the indicated Spectrum Analysis channel.
Cmd Parameters
<NRf> The input parameter is a unitless number.
Query Parameters
NA
Query Output
<NR1> The output parameter is an integer.
Range
Range depends on the maximum points setting:
When 25,000 points is set, range = 2 to 25,000 points.
When 100,000 points is set, range = 2 to 100,000 points.
When image rejection is on, the upper point count limit is ½ that shown above (i.e., 12500 or 50000). When in classical mode, there are no additional point count limits, but, because multiple measurements are done between display points (spaced by the resolution bandwidth), total sweep times are longer and typically fewer display points are used.
Default Value
201
Syntax Example
:SENS1:SA:SWE:POIN 1.01E2
:SENS1:SA:SWE:POIN?
:SENSe{1-16}:SA:ZERO:SPAN[:STATe] <char>
:SENSe{1-16}:SA:ZERO:SPAN[:STATe]?
Description
Sets the zero span state for the indicated Spectrum Analysis channel.
Returns the zero span state for the indicated Spectrum Analysis channel.
Cmd Parameters
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default Value
0
Syntax Example
:SENS1:SA:ZERO:SPAN ON
:SENS1:SA:ZERO:SPAN?