Frequency
SCPI Commands :
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:DWELl
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:MODE
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:POINts
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:RETRace
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:RUNNing
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SHAPe
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SPACing
- Commands in total: 10Subgroups: 2Direct child commands: 7
- get_dwell() float[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:DWELl value: float = driver.source.lfOutput.sweep.frequency.get_dwell()
Sets the dwell time for each frequency step of the sweep.
- Returns:
dwell: float Range: 0.001 to 100, Unit: s
- get_mode() AutoManStep[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:MODE value: enums.AutoManStep = driver.source.lfOutput.sweep.frequency.get_mode()
Sets the cycle mode of the LF sweep.
- Returns:
mode: AUTO | MANual | STEP AUTO Performs a complete sweep cycle from the start to the end value when a trigger event occurs. The dwell time determines the time period until the signal switches to the next step. MANual Performs a single sweep step when a manual trigger event occurs. The trigger system is not active. To trigger each frequency step of the sweep individually, use the command method
RsSmw.source.lfOutput.frequency.manual(). STEP Each trigger command triggers one sweep step only. The frequency increases by the value set with the coammnds: methodRsSmw.source.lfOutput.sweep.frequency.step.linear()(linear spacing) methodRsSmw.source.lfOutput.sweep.frequency.step.logarithmic()(logarithmic spacing)
- get_points() int[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:POINts value: int = driver.source.lfOutput.sweep.frequency.get_points()
Sets the number of steps in an LF sweep. For information on how the value is calculated and the interdependency with other parameters, see ‘Correlating parameters in sweep mode’
- Returns:
points: integer Range: 2 to POINts
- get_retrace() bool[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:RETRace value: bool = driver.source.lfOutput.sweep.frequency.get_retrace()
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’.
- Returns:
state: 1 | ON | 0| OFF
- get_running() bool[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:RUNNing value: bool = driver.source.lfOutput.sweep.frequency.get_running()
Queries the current status of the LF frequency sweep mode.
- Returns:
state: 1 | ON | 0| OFF
- get_shape() SweCyclMode[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SHAPe value: enums.SweCyclMode = driver.source.lfOutput.sweep.frequency.get_shape()
Sets the cycle mode for a sweep sequence (shape) .
- Returns:
shape: SAWTooth | TRIangle
- get_spacing() Spacing[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SPACing value: enums.Spacing = driver.source.lfOutput.sweep.frequency.get_spacing()
Selects linear or logarithmic sweep spacing.
- Returns:
spacing: LINear | LOGarithmic
- set_dwell(dwell: float) None[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:DWELl driver.source.lfOutput.sweep.frequency.set_dwell(dwell = 1.0)
Sets the dwell time for each frequency step of the sweep.
- Parameters:
dwell – float Range: 0.001 to 100, Unit: s
- set_mode(mode: AutoManStep) None[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:MODE driver.source.lfOutput.sweep.frequency.set_mode(mode = enums.AutoManStep.AUTO)
Sets the cycle mode of the LF sweep.
- Parameters:
mode – AUTO | MANual | STEP AUTO Performs a complete sweep cycle from the start to the end value when a trigger event occurs. The dwell time determines the time period until the signal switches to the next step. MANual Performs a single sweep step when a manual trigger event occurs. The trigger system is not active. To trigger each frequency step of the sweep individually, use the command method
RsSmw.source.lfOutput.frequency.manual(). STEP Each trigger command triggers one sweep step only. The frequency increases by the value set with the coammnds: methodRsSmw.source.lfOutput.sweep.frequency.step.linear()(linear spacing) methodRsSmw.source.lfOutput.sweep.frequency.step.logarithmic()(logarithmic spacing)
- set_points(points: int) None[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:POINts driver.source.lfOutput.sweep.frequency.set_points(points = 1)
Sets the number of steps in an LF sweep. For information on how the value is calculated and the interdependency with other parameters, see ‘Correlating parameters in sweep mode’
- Parameters:
points – integer Range: 2 to POINts
- set_retrace(state: bool) None[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:RETRace driver.source.lfOutput.sweep.frequency.set_retrace(state = 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’.
- Parameters:
state – 1 | ON | 0| OFF
- set_shape(shape: SweCyclMode) None[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SHAPe driver.source.lfOutput.sweep.frequency.set_shape(shape = enums.SweCyclMode.SAWTooth)
Sets the cycle mode for a sweep sequence (shape) .
- Parameters:
shape – SAWTooth | TRIangle
- set_spacing(spacing: Spacing) None[source]
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SPACing driver.source.lfOutput.sweep.frequency.set_spacing(spacing = enums.Spacing.LINear)
Selects linear or logarithmic sweep spacing.
- Parameters:
spacing – LINear | LOGarithmic
Cloning the Group
# Create a copy of the original group, that exists independently
frequency_copy = driver.source.lfOutput.sweep.frequency.clone()
Subgroups