Specifies the sweep functions of the analyzer.
SENSe:SWEep: | AUTO | SDELay GROups | COUNt SLOCal | MAXimum | STATe TIME | AUTO | STARt? | [:STOP] TRIGger | DELAY | MODE | FACW |
Click on a keyword to view the command details.
See Also
Example Programs
Example Triggering the VNA using SCPI
Applicable Models: All (Read-Write) Sets the dwell time between each sweep point.
|
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Dwell time in seconds. This command will accept MIN or MAX instead of a numeric parameter. See SCPI Syntax for more information. |
Examples |
SENS:SWE:DWEL
.1 |
Query Syntax |
SENSe<cnum>:SWEep:DWELl? |
Return Type |
Numeric |
0 - (Note: dwell time set to 0 is the same as dwell:auto ON) |
Applicable Models: All (Read-Write) Specifies whether or not to automatically calculate and set the minimum possible dwell time. Setting Auto ON has the same effect as setting dwell time to 0. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<ON | OFF> |
ON (or
1) - turns dwell ON. |
Examples |
SENS:SWE:DWEL:AUTO
ON |
Query Syntax |
SENSe<cnum>:SWEep:DWELl:AUTO? |
Return Type |
Boolean (1 = ON, 0 = OFF) |
ON |
Applicable Models: All (Read-Write) Specifies the time to wait just before acquisition begins for each sweep. This delay is in addition to Dwell Time and the following two External Trigger delays if enabled.
|
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Sweep delay in seconds. This command will accept MIN or MAX instead of a numeric parameter. See SCPI Syntax for more information. |
Examples |
SENS:SWE:DWEL:SDEL
.1 |
Query Syntax |
SENSe<cnum>:SWEep:DWELl:SDELay? |
Return Type |
Numeric |
0 |
Applicable Models: All (Read-Write) Sets sweep as Stepped or Analog. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<char> |
Choose from: STEPped - source frequency is CONSTANT during measurement of eah displayed point. More accurate than ANALog. Dwell time can be set in this mode. ANALog - source frequency is continuously RAMPING during measurement of each displayed point. Faster than STEPped. Sweep time (not dwell time) can be set in this mode. |
Examples |
SENS:SWE:GEN
STEP |
Query Syntax |
SENSe<cnum>:SWEep:GENeration? |
Return Type |
Character |
Analog |
Applicable Models: All (Read-Write) Sets the trigger count (groups) for the specified channel. Set trigger mode to group after setting this count. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Count (groups)
number. Choose any number between: |
Examples |
SENS:SWE:GRO:COUN
10 |
Query Syntax |
SENSe<cnum>:SWEep:GROups:COUNt? |
Return Type |
Numeric |
1 |
Applicable Models: All (Read-Write) Sets the number of trigger signals the specified channel will ACCEPT. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<char> |
Trigger mode. Choose from: HOLD - channel will not trigger CONTinuous - channel triggers indefinitely GROups - channel accepts the number of triggers specified with the last SENS:SWE:GRO:COUN <num>. This is one of the VNA overlapped commands. Learn more. SINGle - channel accepts ONE trigger, then goes to HOLD. Note: To perform simple, single-triggering, use SINGle which requires that TRIG:SOURce remain in the default (internal) setting. |
Examples |
SENS:SWE:MODE
CONT |
Query Syntax |
SENSe<cnum>:SWEep:MODE? |
Return Type |
Character |
CONTinuous |
Applicable Models: All (Read-Write) Sets the number of data points for the measurement. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Choose any number between 1 and the VNA maximum number of points. This command will accept MIN or MAX instead of a numeric parameter. See SCPI Syntax for more information. |
Examples |
SENS:SWE:POIN
51 |
Query Syntax |
SENSe<cnum>:SWEep:POINts? |
Return Type |
Numeric |
201 |
Applicable Models: All (Read-Write) Sets the Shift LO maximum frequency for the selected channel. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Range of shift LO maximum frequency is 1.5E8 to Maximum frequency. |
Examples |
SENS:SWE:SCLOC:MAX
1.5E8 |
Query Syntax |
SENSe<cnum>:SWEep:SLOCal:MAXimum? |
Return Type |
Numeric / Double precision floating point |
Maximum frequency |
Applicable Models: All (Read-Write) Turns ON or OFF the Shift LO mode for the selected channel. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<bool> |
Select shoft LO mode from either of the following: ON or 1 - Turns ON the Shift LO mode. OFF or 0 - Turns OFF the Shift LO mode. |
Examples |
SENS:SWE:SLOC:STAT
ON |
Query Syntax |
SENSe<cnum>:SWEep:SLOCal:STATe? |
Return Type |
Boolean |
OFF or 0 |
Applicable Models: All (Read-Write) Sets and returns the state of Fast Sweep mode. Learn more about Fast Sweep. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<char> |
Fast Sweep mode. Choose from: FAST - turns Fast Sweep Mode ON NORMal - turns Fast Sweep Mode OFF (Normal Mode). |
Examples |
SENS:SWE:SPE
NORM |
Query Syntax |
SENSe<cnum>:SWEep:SPEed? |
Return Type |
Character |
NORMal |
Applicable Models: All (Read-Write) Sets the frequency step size across the selected frequency range. This effectively sets the number of data points. Available ONLY when Sweep Type = Linear. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Frequency step size in Hz. Select any value up to the frequency range of the analyzer. |
Examples |
SENS:SWE:STEP
1e6 |
Query Syntax |
SENSe<cnum>:SWEep:STEP? |
Return Type |
Numeric |
NA |
Applicable Models: All (Read-Write) Turns the automatic sweep time function ON or OFF. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<ON | OFF> |
ON (or 1) - turns the automatic sweep time ON. OFF (or 0) - turns the automatic sweep time OFF. |
Examples |
SENS:SWE:TIME:AUTO |
Query Syntax |
SENSe<cnum>:SWEep:TIME:AUTO? |
Return Type |
Boolean (1 = ON, 0 = OFF) |
ON |
Applicable Models: All (Read-only) Returns the time the first point of a Time Sweep is measured. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
Examples |
SENS:SWE:TIME:STAR? |
Return Type |
Numeric |
Not Applicable |
Applicable Models: All (Read-Write) Sets the time the analyzer takes to complete one sweep. If sweep time accuracy is critical, use ONLY the values that are attained using the up and down arrows next to the sweep time entry box. See Sweep Time. |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Sweep time in seconds. To select the fastest sweep speed, either send MIN as an argument to this command, or send SENS:SWE:TIME:AUTO 1. This command will accept MIN or MAX instead of a numeric parameter. See SCPI Syntax for more information. The MAX value will change based on point count, IFBW, and dwell time. |
Examples |
SENS:SWE:TIME
1ms |
Query Syntax |
SENSe<cnum>:SWEep:TIME[:STOP]? |
Return Type |
Numeric |
NA |
Applicable Models: All (Read-Write) Sets and reads the trigger delay for all measurements in the specified CHANNEL. This delay is only applied while TRIG:SOURce EXTernal and TRIG:SCOP CURRent . After an external trigger is applied, the start of the sweep is delayed for the specified delay value plus any inherent latency. To apply a trigger delay for all channels (Global), use TRIG:DEL |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<num> |
Trigger delay value in seconds. Range is from 0 to 3 seconds |
Examples |
SENS:SWE:TRIG:DELay
.003 |
Query Syntax |
SENSe<cnum>:SWEep:TRIGger:DELay? |
Return Type |
Numeric |
0 |
Applicable Models: All (Read-Write) Sets and reads the trigger mode for the specified channel. This determines what EACH signal will trigger. Learn more. Note: Setting Point and Sweep mode forces Trigger:SCOPe = CURRent |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<char> |
Trigger mode. choose from:
|
Examples |
SENS:SWE:TRIG:MODE
SWE |
Query Syntax |
SENSe<cnum>:SWEep:TRIGger:MODE? |
Return Type |
Character |
Channel |
Applicable Models: All (Read-Write) Sets the type of analyzer sweep mode. First set sweep type, then set sweep parameters such as frequency or power settings. See Also: FCA Segment Sweep commands |
|
Parameters |
|
<cnum> |
Any existing channel number. If unspecified, value is set to 1 |
<char> |
Choose from: LINear | LOGarithmic | POWer | CW | SEGMent Note: SWEep TYPE cannot be set to SEGMent if there are no segments turned ON. A segment is automatically turned ON when the analyzer is started. |
Examples |
SENS:SWE:TYPE LIN sense2:sweep:type segment |
Query Syntax |
SENSe<cnum>:SWEep:TYPE? |
Return Type |
Character |
LINear |
|
Any existing channel number. If unspecified, value is set to 1 |
Number of data points to measure in Fast CW mode. This setting overwrites the standard number of points setting for the channel. The minimum value is 1. The maximum value is 232 - 1 = 2,147,483,647. The "-1" indicates infinite point count (i.e., go forever). Any other value will produce invalid results. If the data acquisition rate exceeds 400,000 points per second, the upper limit on the number of points is 11e6. The following are conditions that can cause the higher data rate:
Set to 0 to disable Fast CW. |
SENS:SWE:TYPE:FACW
1e6 |
SENSe<cnum>:SWEep:TYPE:FACW? |
Numeric |
0 - Disabled |