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.gprf.measurement.fftSpecAn.get_amode()

Selects the averaging mode for the average spectrum trace.

return:

averaging_mode: 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.gprf.measurement.fftSpecAn.get_detector()

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

return:

detector: 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.gprf.measurement.fftSpecAn.get_fft_length()

Selects the number of samples recorded per measurement interval.

return:

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

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

Configures the frequency span of the FFT spectrum analyzer.

return:

frequency_span: Only the following values can be configured, all values in MHz: IF unit: 10, 20, 40, 80, 160, 250, 500, 1000 RF unit: 10, 20, 40, 80, 160, 250 R&S CMW: 1.25, 2.5, 5, 10, 20, 40, 80, 160 Other values are rounded to the next allowed value.

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

Specifies whether measurement results that the CMX500 identifies as faulty or inaccurate are rejected.

return:

meas_on_exception: 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.gprf.measurement.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: single-shot measurement CONTinuous: continuous measurement

get_scount() int[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:SCOunt
value: int = driver.configure.gprf.measurement.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: Number of measurement intervals

get_timeout() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:TOUT
value: float = driver.configure.gprf.measurement.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: No help available

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

Selects the averaging mode for the average spectrum trace.

param averaging_mode:

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.gprf.measurement.fftSpecAn.set_detector(detector = enums.DetectorBasic.PEAK)

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

param detector:

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.gprf.measurement.fftSpecAn.set_fft_length(length = 1)

Selects the number of samples recorded per measurement interval.

param length:

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

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

Configures the frequency span of the FFT spectrum analyzer.

param frequency_span:

Only the following values can be configured, all values in MHz: IF unit: 10, 20, 40, 80, 160, 250, 500, 1000 RF unit: 10, 20, 40, 80, 160, 250 R&S CMW: 1.25, 2.5, 5, 10, 20, 40, 80, 160 Other values are rounded to the next allowed value.

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

Specifies whether measurement results that the CMX500 identifies as faulty or inaccurate are rejected.

param meas_on_exception:

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.gprf.measurement.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: single-shot measurement CONTinuous: continuous measurement

set_scount(statistic_count: int) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:SCOunt
driver.configure.gprf.measurement.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:

Number of measurement intervals

set_timeout(tcd_timeout: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:FFTSanalyzer:TOUT
driver.configure.gprf.measurement.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:

No help available

Cloning the Group

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

Subgroups