FftSpecAn

SCPI Commands :

CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:TOUT
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:AMODe
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:DETector
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:FFTLength
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:FSPan
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:MOEXception
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:REPetition
CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:SCOunt
class FftSpecAnCls[source]

FftSpecAn commands group definition. 10 total commands, 1 Subgroups, 8 group commands

get_amode() AveragingMode[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:AMODe
value: enums.AveragingMode = driver.configure.fftSpecAn.get_amode()

Selects the averaging mode for the average spectrum trace.

return:

averaging_mode: LINear | LOGarithmic LINear: averaging of linear power values LOGarithmic: averaging of logarithmic power values

get_detector() DetectorBasic[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:DETector
value: enums.DetectorBasic = driver.configure.fftSpecAn.get_detector()

Defines how the spectrum diagram is calculated from the frequency domain samples.

return:

detector: PEAK | RMS PEAK: The peak value of adjacent samples is used. RMS: The RMS value of adjacent samples is used.

get_fft_length() int[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:FFTLength
value: int = driver.configure.fftSpecAn.get_fft_length()

Selects the number of samples recorded per measurement interval.

return:

length: numeric Only the following values can be configured: 1024, 2048, 4096, 8192, 16384 Other values are rounded to the next allowed value. Range: 1024 to 16384

get_fspan() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:FSPan
value: float = driver.configure.fftSpecAn.get_fspan()

Configures the frequency span of the FFT spectrum analyzer.

return:

frequency_span: numeric Only the following values can be configured, all values in MHz: 1.25, 2.5, 5, 10, 20, 40, 80, 160 Other values are rounded to the next allowed value. Unit: Hz

get_mo_exception() bool[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:MOEXception
value: bool = driver.configure.fftSpecAn.get_mo_exception()

Specifies whether measurement results that the R&S CMW identifies as faulty or inaccurate are rejected.

return:

meas_on_exception: OFF | ON OFF: Faulty results are rejected. ON: Results are never rejected.

get_repetition() Repeat[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:REPetition
value: enums.Repeat = driver.configure.fftSpecAn.get_repetition()

Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after a single shot or repeated continuously. Use CONFigure:..:MEAS<i>:…:SCOunt to determine the number of measurement intervals per single shot.

return:

repetition: SINGleshot | CONTinuous SINGleshot: single-shot measurement CONTinuous: continuous measurement

get_scount() int[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:SCOunt
value: int = driver.configure.fftSpecAn.get_scount()

Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot.

return:

statistic_count: numeric Number of measurement intervals Range: 1 to 1000

get_timeout() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:TOUT
value: float = driver.configure.fftSpecAn.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 manually. When the measurement has completed the first measurement cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY. The reliability indicator is set to 1, indicating that a measurement timeout occurred. 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: numeric Unit: s

set_amode(averaging_mode: AveragingMode) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:AMODe
driver.configure.fftSpecAn.set_amode(averaging_mode = enums.AveragingMode.LINear)

Selects the averaging mode for the average spectrum trace.

param averaging_mode:

LINear | LOGarithmic LINear: averaging of linear power values LOGarithmic: averaging of logarithmic power values

set_detector(detector: DetectorBasic) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:DETector
driver.configure.fftSpecAn.set_detector(detector = enums.DetectorBasic.PEAK)

Defines how the spectrum diagram is calculated from the frequency domain samples.

param detector:

PEAK | RMS PEAK: The peak value of adjacent samples is used. RMS: The RMS value of adjacent samples is used.

set_fft_length(length: int) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:FFTLength
driver.configure.fftSpecAn.set_fft_length(length = 1)

Selects the number of samples recorded per measurement interval.

param length:

numeric Only the following values can be configured: 1024, 2048, 4096, 8192, 16384 Other values are rounded to the next allowed value. Range: 1024 to 16384

set_fspan(frequency_span: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:FSPan
driver.configure.fftSpecAn.set_fspan(frequency_span = 1.0)

Configures the frequency span of the FFT spectrum analyzer.

param frequency_span:

numeric Only the following values can be configured, all values in MHz: 1.25, 2.5, 5, 10, 20, 40, 80, 160 Other values are rounded to the next allowed value. Unit: Hz

set_mo_exception(meas_on_exception: bool) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:MOEXception
driver.configure.fftSpecAn.set_mo_exception(meas_on_exception = False)

Specifies whether measurement results that the R&S CMW identifies as faulty or inaccurate are rejected.

param meas_on_exception:

OFF | ON OFF: Faulty results are rejected. ON: Results are never rejected.

set_repetition(repetition: Repeat) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:REPetition
driver.configure.fftSpecAn.set_repetition(repetition = enums.Repeat.CONTinuous)

Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after a single shot or repeated continuously. Use CONFigure:..:MEAS<i>:…:SCOunt to determine the number of measurement intervals per single shot.

param repetition:

SINGleshot | CONTinuous SINGleshot: single-shot measurement CONTinuous: continuous measurement

set_scount(statistic_count: int) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:SCOunt
driver.configure.fftSpecAn.set_scount(statistic_count = 1)

Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot.

param statistic_count:

numeric Number of measurement intervals Range: 1 to 1000

set_timeout(tcd_timeout: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:TOUT
driver.configure.fftSpecAn.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 manually. When the measurement has completed the first measurement cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY. The reliability indicator is set to 1, indicating that a measurement timeout occurred. 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:

numeric Unit: s

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.configure.fftSpecAn.clone()

Subgroups