Source:Sweep:Frequency#

SCPI Commands

[SOURce<HW>]:SWEep:[FREQuency]:DWELl
[SOURce<HW>]:SWEep:[FREQuency]:MODE
[SOURce<HW>]:SWEep:[FREQuency]:POINts
[SOURce<HW>]:SWEep:[FREQuency]:RETRace
[SOURce<HW>]:SWEep:[FREQuency]:RUNNing
[SOURce<HW>]:SWEep:[FREQuency]:SHAPe
[SOURce<HW>]:SWEep:[FREQuency]:SPACing

Cloning the Group

// Create a clone of the original group, that exists independently
var frequency2 = driver.Source.Sweep.Frequency.Clone();

Direct SCPI Members

double Dwell#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:DWELl
double value = driver.Source.Sweep.Frequency.Dwell;
driver.Source.Sweep.Frequency.Dwell = 1.0;

Sets the dwell time for a frequency sweep step.

dwell: float


AutoManStepEnum Mode#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:MODE
AutoManStepEnum value = driver.Source.Sweep.Frequency.Mode;
driver.Source.Sweep.Frequency.Mode = AutoManStepEnum.AUTO;

Sets the cycle mode for the frequency sweep.

mode: AUTO | MANual | STEP

  • AUTO: Each trigger event triggers exactly one complete sweep.

  • MANual: The trigger system is not active. You can trigger every step individually by input of the frequencies with the command [:SOURcehw]:FREQuency:MANual.

  • STEP: Each trigger event triggers one sweep step. The frequency increases by the value entered with [:SOURcehw]:SWEep[:FREQuency]:STEP[:LINear] (linear spacing) or [:SOURcehw]:SWEep[:FREQuency]:STEP:LOGarithmic (logarithmic spacing) .


int Points#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:POINts
int value = driver.Source.Sweep.Frequency.Points;
driver.Source.Sweep.Frequency.Points = 1;

Sets the number of steps within the RF frequency sweep range. Two separate POINts values are used for linear or logarithmic sweep spacing. This command always affects the currently set sweep spacing that you can set via the following command: SOURce<hw>:SWEep:FREQuency:SPACing LINear | LOGarithmic

points: integer


bool Retrace#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:RETRace
bool value = driver.Source.Sweep.Frequency.Retrace;
driver.Source.Sweep.Frequency.Retrace = false;

Activates that the signal changes to the start frequency value while it is waiting for the next trigger event. You can enable this feature, when you are working with sawtooth shapes in sweep mode Single or External Single.

state: 1 | ON | 0| OFF


bool Running#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:RUNNing
bool value = driver.Source.Sweep.Frequency.Running;

Queries the current sweep state.

state: 1 | ON | 0| OFF


SweCyclModeEnum Shape#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:SHAPe
SweCyclModeEnum value = driver.Source.Sweep.Frequency.Shape;
driver.Source.Sweep.Frequency.Shape = SweCyclModeEnum.SAWTooth;

Determines the waveform shape for a frequency sweep sequence.

shape: SAWTooth | TRIangle


SpacingEnum Spacing#
// SCPI: [SOURce<HW>]:SWEep:[FREQuency]:SPACing
SpacingEnum value = driver.Source.Sweep.Frequency.Spacing;
driver.Source.Sweep.Frequency.Spacing = SpacingEnum.LINear;

Selects the mode for the calculation of the frequency intervals, with which the current frequency at each step is increased or decreased. The keyword [:FREQuency] can be omitted; then the command is SCPI-compliant.

spacing: LINear | LOGarithmic

  • LINear: Sets a fixed frequency value as step width and adds it to the current frequency.The linear step width is entered in Hz, see [:SOURcehw]:SWEep[:FREQuency]:STEP[:LINear].

  • LOGarithmic: Sets a constant fraction of the current frequency as step width and adds it to the current frequency.The logarithmic step width is entered in %, see [:SOURcehw]:SWEep[:FREQuency]:STEP:LOGarithmic.


Subgroups