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
- class FrequencyCls[source]
Frequency commands group definition. 10 total commands, 2 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_mode() RsSmw.enums.AutoManStep [source]
# SCPI: [SOURce<HW>]:LFOutput:SWEep:[FREQuency]:MODE value: enums.AutoManStep = driver.source.lfOutput.sweep.frequency.get_mode()
Sets the cycle mode of the LF sweep.
- return
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 [:SOURcehw]:LFOutput:FREQuency:MANual. STEP Each trigger command triggers one sweep step only. The frequency increases by the value set with the coammnds: [:SOURcehw]:LFOutput:SWEep[:FREQuency]:STEP[:LINear] (linear spacing) [:SOURcehw]:LFOutput:SWEep[:FREQuency]:STEP:LOGarithmic(logarithmic spacing)
- 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() RsSmw.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() RsSmw.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_mode(mode: RsSmw.enums.AutoManStep) None [source]
# SCPI: [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.
- param 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 [:SOURcehw]:LFOutput:FREQuency:MANual. STEP Each trigger command triggers one sweep step only. The frequency increases by the value set with the coammnds: [:SOURcehw]:LFOutput:SWEep[:FREQuency]:STEP[:LINear] (linear spacing) [:SOURcehw]:LFOutput:SWEep[:FREQuency]:STEP:LOGarithmic(logarithmic spacing)
- 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: RsSmw.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: RsSmw.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