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: 12
Subgroups: 3
Direct child commands: 7
get_dwell ( ) → float
set_dwell ( dwell: float ) → None
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:DWELl
# get:
value: float = driver.source.lfOutput.sweep.frequency.get_dwell()
# set:
driver.source.lfOutput.sweep.frequency.set_dwell(dwell = 1.0)

Sets the dwell time for each frequency step of the sweep.

Parameters:

dwell – float

get_lf_source ( ) → LfSweepSource
set_lf_source ( lf_source: LfSweepSource ) → None
# [SOURce]:LFOutput:SWEep:[FREQuency]:LFSource
# get:
value: enums.LfSweepSource = driver.source.lfOutput.sweep.frequency.get_lf_source()
# set:
driver.source.lfOutput.sweep.frequency.set_lf_source(lf_source = enums.LfSweepSource.LF1)

No help available

get_points ( ) → int
set_points ( points: int ) → None
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:POINts
# get:
value: int = driver.source.lfOutput.sweep.frequency.get_points()
# set:
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

get_retrace ( ) → bool
set_retrace ( state: bool ) → None
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:RETRace
# get:
value: bool = driver.source.lfOutput.sweep.frequency.get_retrace()
# set:
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

get_running ( ) → bool
# [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
set_shape ( shape: SweCyclMode ) → None
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SHAPe
# get:
value: enums.SweCyclMode = driver.source.lfOutput.sweep.frequency.get_shape()
# set:
driver.source.lfOutput.sweep.frequency.set_shape(shape = enums.SweCyclMode.SAWTooth)

Sets the cycle mode for a sweep sequence (shape) .

Parameters:

shape – SAWTooth | TRIangle

get_spacing ( ) → Spacing
set_spacing ( spacing: Spacing ) → None
# [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SPACing
# get:
value: enums.Spacing = driver.source.lfOutput.sweep.frequency.get_spacing()
# set:
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