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
class FrequencyCls[source]

Frequency commands group definition. 12 total commands, 3 Subgroups, 7 group commands

get_dwell() float[source]
# SCPI: [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.

return

dwell: float Range: 0.001 to 100, Unit: s

get_lf_source() RsSmbv.enums.LfSweepSource[source]
# SCPI: [SOURce]:LFOutput:SWEep:[FREQuency]:LFSource
value: enums.LfSweepSource = driver.source.lfOutput.sweep.frequency.get_lf_source()

No command help available

return

lf_source: No help available

get_points() int[source]
# SCPI: [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’

return

points: integer Range: 2 to POINts

get_retrace() bool[source]
# SCPI: [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’.

return

state: 1| ON| 0| OFF

get_running() bool[source]
# SCPI: [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.

return

state: 1| ON| 0| OFF

get_shape() RsSmbv.enums.SweCyclMode[source]
# SCPI: [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) .

return

shape: SAWTooth| TRIangle

get_spacing() RsSmbv.enums.Spacing[source]
# SCPI: [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SPACing
value: enums.Spacing = driver.source.lfOutput.sweep.frequency.get_spacing()

Selects linear or logarithmic sweep spacing.

return

spacing: LINear| LOGarithmic

set_dwell(dwell: float) None[source]
# SCPI: [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.

param dwell

float Range: 0.001 to 100, Unit: s

set_lf_source(lf_source: RsSmbv.enums.LfSweepSource) None[source]
# SCPI: [SOURce]:LFOutput:SWEep:[FREQuency]:LFSource
driver.source.lfOutput.sweep.frequency.set_lf_source(lf_source = enums.LfSweepSource.LF1)

No command help available

param lf_source

No help available

set_points(points: int) None[source]
# SCPI: [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’

param points

integer Range: 2 to POINts

set_retrace(state: bool) None[source]
# SCPI: [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’.

param state

1| ON| 0| OFF

set_shape(shape: RsSmbv.enums.SweCyclMode) None[source]
# SCPI: [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) .

param shape

SAWTooth| TRIangle

set_spacing(spacing: RsSmbv.enums.Spacing) None[source]
# SCPI: [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:SPACing
driver.source.lfOutput.sweep.frequency.set_spacing(spacing = enums.Spacing.LINear)

Selects linear or logarithmic sweep spacing.

param spacing

LINear| LOGarithmic

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.lfOutput.sweep.frequency.clone()

Subgroups