This subsystem provides general settings to control the sweep. Most of the settings have an impact on the sweep time.
Command tree: [SENSe<Ch>:]SWEep
:AXIS
:DETector
The [SENSe<Ch>:]SWEep... settings apply to non-segmented sweep types. Segmented sweeps are selected via [SENSe<Ch>:]SWEep:TPYE SEGMent and configured in the [SENSe<Ch>:]SEGMent<Seg>... subsystem.
Selects the stimulus signal that is used for the definition of the frequency sweep range or CW frequency.
This command is particularly useful in arbitrary mode (with option R&S ZVA-K4), where the frequencies and source powers at the ports are independent. For R&S ZVA analyzers without option R&S ZVA-K4, all frequencies are coupled so that this selection has no effect.
<Ch> |
Channel number. If unspecified the numeric suffix is set to 1.
|
'<frequency_ref>' |
String parameter, one of the following signals: |
*RST value |
'Channel Base: Source'
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
*RST; FREQ:STAR 1 GHz; STOP 2 GHz Define a base channel frequency range between 1 GHz and 2 GHz. This frequency is also used as an (initial) frequency range for all test ports and external generators. SOUR:FREQ1:CONV:ARB:IFR 1, 1, 1E+9, SWE Convert the source frequency at test port no. 1 to the range between 2 GHz and 3 GHz. SWE:AXIS:FREQ 'Port 1; Source' Select the source signal at port 1 as the reference signal for frequency definitions. FREQ:STAR 3 GHz; STOP 4 GHz Shift all frequency ranges by +1 GHz. SWE:AXIS:FREQ 'Port 2; Source' Select the source signal at port 2 as the reference signal for frequency definitions. FREQ:STAR?; STOP? Query the frequency range at test port 2. The response is 2000000000;3000000000. DISP:MENU:KEY:EXEC 'Port Config'
|
Selects the stimulus signal that is used for the definition of the power sweep range or fixed power.
This command is particularly useful in arbitrary mode (with option R&S ZVA-K4), where the frequencies and source powers at the ports are independent. For R&S ZVA analyzers without option R&S ZVA-K4, all powers are coupled so that this selection has no effect.
<Ch> |
Channel number.
|
'<frequency_ref>' |
String parameter, one of the following signals: |
*RST value |
'Channel Base; Source'
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
*RST; SOUR:POW 5 Define a base channel power of +5 dBm. This power is also used as an (initial) power for all test ports and external generators. SOUR:POW1:OFFS -5, CPAD Change the source power at test port no. 1 to 0 dB without affecting the power at the remaining ports. SWE:AXIS:POW 'Port 1; Source' Select the source signal at port 1 as the reference signal for power definitions. SOUR:POW -5 Shift all powers by -5 GHz. SWE:AXIS:POW 'Port 2; Source' Select the source signal at port 2 as the reference signal for power definitions. SOUR:POW? Query the power at test port 2. The response is 0. DISP:MENU:KEY:EXEC 'Port Config'
|
Defines the number of sweeps to be measured in single sweep mode (INITiate<Ch>:CONTinuous OFF).
<Ch> |
Channel number. If the single sweep mode settings apply to all channels (INITiate<Ch>[:IMMediate]:SCOPe ALL), this suffix is ignored; see program example in section Single Sweep Mode.
|
<No_of_Sweeps> |
Number of consecutive sweeps to be measured. |
Range [def. unit] |
1 to 999. [–] |
*RST value |
1
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
See CALCulate<Chn>:DATA:NSWeep:FIRSt?.
|
Defines the detector observation time for ratios and wave quantities if a Peak or RMS detector is active. The detector is selected together with the measured quantity (CALCulate<Ch>:PARameter:MEASure or CALCulate<Ch>:PARameter:SDEFine).
<Ch> |
Channel number.
|
<det_time> |
Detector time. |
Range [def. unit] |
0 s to 3456000 s. [s] |
*RST value |
0.01 s
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
*RST; :CALC:PAR:MEAS 'TRC1', 'a1D1RMS' Select the wave quantity a1 for the default trace and activate the RMS detector. SWE:DET:TIME 1 Specify an observation time of 1 s at each sweep points.
|
Defines the Meas. Delay time for each partial measurement. Setting a delay disables the automatic calculation of the (minimum) sweep time; see [SENSe<Ch>:]SWEep:TIME:AUTO.
<Ch> |
Channel number.
|
<delay> |
Meas. delay before each partial measurement. |
Range [def. unit] |
0 s to 3.179551E+002 s. [s] Changing the delay leaves the number of points unchanged but has an impact on the duration of the sweep ([SENSe<Ch>:]SWEep:TIME). |
*RST value |
0 s
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
FUNC "XFR:POW:S12" Activate a frequency sweep and select the S-parameter S12 as measured parameter for channel and trace no. 1. SWE:TIME? Query total sweep time. SWE:DWEL 1 Set a delay of 1 s for each partial measurement. SWE:TIME? Query total sweep time. The time is extended by the delay times the total number of partial measurements per sweep.
|
Defines the total number of measurement points per sweep (Number of Points).
<Ch> |
Channel number 1.
|
<no_points> |
Number of points per sweep. |
Range [def. unit] |
1 to 60001. [–] |
*RST value |
201
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
FUNC "XFR:POW:S12" Activate a frequency sweep and select the S-parameter S12 as measured parameter for channel and trace no. 1. SWE:TIME? Query total sweep time. SWE:POIN 2010 Multiply the (default) number of points by 10. SWE:TIME? Query total sweep time again. The analyzer estimates a sweep time that is also multiplied by 10.
|
Defines the frequency vs. time characteristics of a frequency sweep (Lin. Frequency or Log Frequency). The command has no effect on segmented frequency, power or time sweeps.
Note: Use [SENSe<Ch>:]SWEep:TPYE to select sweep types other than Lin. Frequency or Log. Frequency.
<Ch> |
Channel number.
|
LINear |
The stimulus frequency is swept in equidistant steps over the frequency range. In a Cartesian diagram, the x-axis is a linear frequency axis. |
LOGarithmic |
The frequency is swept in equidistant steps on a logarithmic scale. In a Cartesian diagram, the x-axis is a logarithmic frequency axis. |
*RST value |
LINear
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
FUNC "XFR:POW:S12" Activate a frequency sweep and select the S-parameter S12 as measured parameter for channel and trace no. 1. SWE:SPAC LOG Change to sweep type Log Frequency.
|
Selects a source port for the stimulus signal (Drive Port). The setting acts on the active trace. The effect of the drive port selection depends on the measurement parameter associated to the active trace:
If an S-parameter S<out><in> is measured, the second port number index <in> (input port of the DUT = drive port of the analyzer) is set equal to the selected drive port: Drive port selection affects the measured quantity.
If a wave quantity or a ratio is measured, the drive port is independent from the measured quantity:
<Chn> |
Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.
|
1 ... |
Test port number of the analyzer, 1 to 2, 3 or 4, depending on the analyzer model. |
*RST value |
1 (test port 1)
|
SCPI, Command Types |
Device-specific, with query.
|
Example: |
CALC4:PAR:SDEF "Ch4Tr1", "A1" Create channel 4 and a trace named Ch4Tr1 to measure the wave quantity a1. The trace automatically becomes the active trace.
Select drive port 2 for the active trace.
|
Sets the distance between two consecutive sweep points.
This setting is valid for sweep types with equidistant sweep points only. It does not apply to logarithmic and segmented sweeps.
<Ch> |
Channel number.
|
<step_size> |
Stimulus step size. |
Range [def. unit] |
Depending on the other channel settings. The minimum step size is equal to the sweep span divided by the maximum number of points minus one ([SENSe<Ch>:]SWEep:POINts), the maximum step size is equal to the sweep span ([SENSe<Ch>:]FREQuency:SPAN). See also description of manual control and program example below. [–] |
*RST value |
Depending on the analyzer model. The default step size is equal to the default sweep span of the analyzer divided by the default number of points minus one.
|
SCPI, Command Types |
Confirmed, with query.
|
Example: |
*RST; :SWE:STEP? Query the default step size. For a 24 GHz analyzer, the response is 119950000. 119950000 Hz = (24 GHz – 10 MHz) / 200. SWE:STEP UP Increase the step size.
Query the stop frequency of the sweep and the number of points. Increasing the step size has changed both values.
|
Sets the duration of the sweep (Sweep Time). Setting a duration disables the automatic calculation of the (minimum) sweep time; see [SENSe<Ch>:]SWEep:TIME:AUTO.
Note: The sweep duration is ignored for the sweep types Time and CW Mode.
<Ch> |
Channel number.
|
<duration> |
Duration of the sweep. |
Range [def. unit] |
The minimum duration depends on the other channel settings, in particular on the number of points ([SENSe<Ch>:]SWEep:POINts), the IF bandwidth (BWID) and the Meas. Delay for each partial measurement ([SENSe<Ch>:]SWEep:DWELl). The maximum is 100000 s. [s] Changing the duration leaves the number of points unchanged but directly affects the delay. |
*RST value |
MIN, depending on the channel settings
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
SWE:TIME 1 Set a total sweep time of 1 s. SWE:DWEL? Query the delay for each partial measurement. SWE:TIME 2 Increase the total sweep time to 2 s. SWE:DWEL? Query the meas. delay for each partial measurement again. The delay is increased by 1 s divided by the total number of partial measurements per sweep.
|
When enabled, the (minimum) sweep duration is calculated internally using the other channel settings and zero delay ([SENSe<Ch>:]SWEep:DWELl).
Note: The automatically calculated sweep duration is ignored for the sweep types Time and CW Mode.
<Ch> |
Channel number.
|
<Boolean> |
ON | OFF - Turns the automatic calculation of the sweep time on or off. OFF is also set if the sweep duration or delay is set explicitly using [SENSe<Ch>:]SWEep:TIME or [SENSe<Ch>:]SWEep:DWELl. |
*RST value |
ON
|
SCPI, Command Types |
Confirmed, command or query
|
Example: |
SWE:TIME 1 Set a total sweep time of 1 s. SWE:TIME:AUTO? A query returns the value 1.
|
Selects the sweep type, i.e. the sweep variable (frequency/power/time) and the position of the sweep points across the sweep range.
<Ch> |
Channel number.
|
LINear |
Lin. frequency sweep at constant source power (SOURce<Ch>:POWer<Pt>[:LEVel][:IMMediate][:AMPlitude]). The stimulus frequency ([SENSe<Ch>:]FREQuency:...) is swept in equidistant steps over the frequency range. In a Cartesian diagram, the x-axis is a linear frequency axis. |
LOGarithmic |
Log. frequency sweep. The frequency is swept in equidistant steps on a logarithmic scale. In a Cartesian diagram, the x-axis is a logarithmic frequency axis. |
SEGMent |
Segmented frequency sweep. The sweep range is composed of several continuous frequency ranges or single frequency points defined by means of the commands in the [SENSe<Ch>:]SEGMent<Seg>... subsystem. |
POWer |
Power sweep. The measurement is performed at constant frequency (SOURce<Ch>:FREQuency<Pt>:CW|FIXed) but with variable generator power that is swept in linear, equidistant steps over a continuous range (SOURce<Ch>:POWer<Pt>:STARt, SOURce<Ch>:POWer<Pt>:STOP). In a Cartesian diagram, the x-axis is a dB-linear power axis. |
CW |
Time sweep. The measurement is performed at constant frequency (SOURce<Ch>:FREQuency<Pt>:CW|FIXed) and source power (SOURce<Ch>:POWer<Pt>[:LEVel][:IMMediate][:AMPlitude]) and repeated over a specified period of time at constant time intervals. |
POINt |
CW Mode sweep, time sweep triggered according to the current trigger settings. |
PULSe |
Pulse profile mode, configured via SENSe:PULSe... |
IAMPlitude |
Amplitude imbalance sweep, configured via SOURce:TDIF... |
IPHase |
Phase imbalance sweep, configured via SOURce:TDIF... |
*RST value |
LINear
|
SCPI, Command Types |
Device-specific, command or query
|
Example: |
FUNC "XFR:POW:S12" Activate a frequency sweep and select the S-parameter S12 as measured parameter for channel and trace no. 1. SWE:TYPE LOG Change to sweep type Log Frequency.
|