Frequency
SCPI Commands :
[SOURce<HW>]:LFOutput:SWEep:[FREQuency]:DWELl
[SOURce]:LFOutput:SWEep:[FREQuency]:LFSource
[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: 12Subgroups: 3Direct 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_lf_source() LfSweepSource[source]
# [SOURce]:LFOutput:SWEep:[FREQuency]:LFSource value: enums.LfSweepSource = driver.source.lfOutput.sweep.frequency.get_lf_source()
No help available
- 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_lf_source(lf_source: LfSweepSource) None[source]
# [SOURce]:LFOutput:SWEep:[FREQuency]:LFSource driver.source.lfOutput.sweep.frequency.set_lf_source(lf_source = enums.LfSweepSource.LF1)
No help available
- 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