Spectrum
SCPI Command:
CONFigure:GPRF:MEASurement<Instance>:SPECtrum:AMODe
CONFigure:GPRF:MEASurement<Instance>:SPECtrum:REPetition
CONFigure:GPRF:MEASurement<Instance>:SPECtrum:RCOupling
CONFigure:GPRF:MEASurement<Instance>:SPECtrum:TOUT
CONFigure:GPRF:MEASurement<Instance>:SPECtrum:SCOunt
- class SpectrumCls[source]
Spectrum commands group definition. 31 total commands, 6 Subgroups, 5 group commands
- get_amode() AveragingMode [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:AMODe value: enums.AveragingMode = driver.configure.gprfMeasurement.spectrum.get_amode()
Defines how the average trace is derived from the current trace.
- return:
averaging_mode: LINear | LOGarithmic LINear Averaging of the linear powers LOGarithmic Averaging of the dBm values
- get_rcoupling() bool [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:RCOupling value: bool = driver.configure.gprfMeasurement.spectrum.get_rcoupling()
Couples the repetition mode (single shot or continuous) of all measurements.
- return:
repetition_coupl: OFF | ON
- get_repetition() Repeat [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:REPetition value: enums.Repeat = driver.configure.gprfMeasurement.spectrum.get_repetition()
Selects whether the measurement is repeated continuously or not.
- return:
repetition: SINGleshot | CONTinuous SINGleshot Single-shot measurement, stopped after one measurement cycle CONTinuous Continuous measurement, running until explicitly terminated
- get_scount() int [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:SCOunt value: int = driver.configure.gprfMeasurement.spectrum.get_scount()
Specifies the number of measurement intervals per measurement cycle. One measurement interval covers the frequency span defined for the ‘Frequency Sweep’ mode, or the sweep time defined for the ‘Zero Span’ mode.
- return:
statistic_count: Range: 1 to 1000
- get_timeout() float [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:TOUT value: float = driver.configure.gprfMeasurement.spectrum.get_timeout()
Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command. It is not started if the measurement is initiated via the graphical user interface. The timer is reset after the first measurement cycle. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped and the reliability indicator is set to 1. Still running READ, FETCh or CALCulate commands are completed, returning the available results. At least for some results, there are no values at all or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.
- return:
tcd_timeout: Unit: s
- set_amode(averaging_mode: AveragingMode) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:AMODe driver.configure.gprfMeasurement.spectrum.set_amode(averaging_mode = enums.AveragingMode.LINear)
Defines how the average trace is derived from the current trace.
- param averaging_mode:
LINear | LOGarithmic LINear Averaging of the linear powers LOGarithmic Averaging of the dBm values
- set_rcoupling(repetition_coupl: bool) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:RCOupling driver.configure.gprfMeasurement.spectrum.set_rcoupling(repetition_coupl = False)
Couples the repetition mode (single shot or continuous) of all measurements.
- param repetition_coupl:
OFF | ON
- set_repetition(repetition: Repeat) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:REPetition driver.configure.gprfMeasurement.spectrum.set_repetition(repetition = enums.Repeat.CONTinuous)
Selects whether the measurement is repeated continuously or not.
- param repetition:
SINGleshot | CONTinuous SINGleshot Single-shot measurement, stopped after one measurement cycle CONTinuous Continuous measurement, running until explicitly terminated
- set_scount(statistic_count: int) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:SCOunt driver.configure.gprfMeasurement.spectrum.set_scount(statistic_count = 1)
Specifies the number of measurement intervals per measurement cycle. One measurement interval covers the frequency span defined for the ‘Frequency Sweep’ mode, or the sweep time defined for the ‘Zero Span’ mode.
- param statistic_count:
Range: 1 to 1000
- set_timeout(tcd_timeout: float) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:SPECtrum:TOUT driver.configure.gprfMeasurement.spectrum.set_timeout(tcd_timeout = 1.0)
Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command. It is not started if the measurement is initiated via the graphical user interface. The timer is reset after the first measurement cycle. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped and the reliability indicator is set to 1. Still running READ, FETCh or CALCulate commands are completed, returning the available results. At least for some results, there are no values at all or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.
- param tcd_timeout:
Unit: s
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.configure.gprfMeasurement.spectrum.clone()
Subgroups