Spectrum

SCPI Command:

TRIGger:GPRF:MEASurement<Instance>:SPECtrum:THReshold
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SOURce
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SLOPe
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:MGAP
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:OFFSet
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:TOUT
class SpectrumCls[source]

Spectrum commands group definition. 7 total commands, 1 Subgroups, 6 group commands

get_mgap() float[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:MGAP
value: float = driver.trigger.gprfMeasurement.spectrum.get_mgap()

Defines the minimum duration of the power-down periods (gaps) between two triggered power pulses. This setting is relevant for trigger source ‘Video’.

return:

minimum_gap: Range: 0 s to 0.01 s, Unit: s

get_offset() float[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:OFFSet
value: float = driver.trigger.gprfMeasurement.spectrum.get_offset()

Defines a delay time for triggered zero span measurements. The trigger offset delays the start of the measurement relative to the trigger event. This command is relevant for the trigger source ‘Video’ and for trigger signals at TRIG IN.

return:

trigger_offset: Range: -0.5 s to 0.5 s, Unit: s

get_slope() SignalSlopeExt[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SLOPe
value: enums.SignalSlopeExt = driver.trigger.gprfMeasurement.spectrum.get_slope()

Selects whether the trigger event is generated at the rising or at the falling edge of the trigger pulse. This command is relevant for the trigger source ‘Video’.

return:

slope: REDGe | FEDGe | RISing | FALLing REDGe, RISing Rising edge FEDGe, FALLing Falling edge

get_source() str[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SOURce
value: str = driver.trigger.gprfMeasurement.spectrum.get_source()

Selects a trigger event source for spectrum analysis. To query a list of all supported sources, use method RsCma.Trigger. GprfMeasurement.Spectrum.Catalog.source.

return:

source: Source as string, examples: ‘Free Run’ Immediate start without trigger signal ‘Video’ Trigger by video power steps ‘Base1: External TRIG In’ Trigger signal at connector TRIG IN ‘AFRF Gen1: …’ Trigger by processed waveform file

get_threshold() float[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:THReshold
value: float = driver.trigger.gprfMeasurement.spectrum.get_threshold()

Defines the trigger threshold for trigger source ‘Video’.

return:

threshold: Range: -50 dB to 0 dB, Unit: dB (full scale, i.e. relative to expected power minus external attenuation)

get_timeout() float[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:TOUT
value: float = driver.trigger.gprfMeasurement.spectrum.get_timeout()

Specifies the time after which an initiated measurement must have received a trigger event. If no trigger event is received, the measurement is stopped in remote control mode. In manual operation mode, a trigger timeout is indicated. This setting is relevant for the trigger source ‘Video’ and for trigger signals at TRIG IN.

return:

trigger_timeout: Range: 0.01 s to 300 s, Unit: s

set_mgap(minimum_gap: float) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:MGAP
driver.trigger.gprfMeasurement.spectrum.set_mgap(minimum_gap = 1.0)

Defines the minimum duration of the power-down periods (gaps) between two triggered power pulses. This setting is relevant for trigger source ‘Video’.

param minimum_gap:

Range: 0 s to 0.01 s, Unit: s

set_offset(trigger_offset: float) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:OFFSet
driver.trigger.gprfMeasurement.spectrum.set_offset(trigger_offset = 1.0)

Defines a delay time for triggered zero span measurements. The trigger offset delays the start of the measurement relative to the trigger event. This command is relevant for the trigger source ‘Video’ and for trigger signals at TRIG IN.

param trigger_offset:

Range: -0.5 s to 0.5 s, Unit: s

set_slope(slope: SignalSlopeExt) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SLOPe
driver.trigger.gprfMeasurement.spectrum.set_slope(slope = enums.SignalSlopeExt.FALLing)

Selects whether the trigger event is generated at the rising or at the falling edge of the trigger pulse. This command is relevant for the trigger source ‘Video’.

param slope:

REDGe | FEDGe | RISing | FALLing REDGe, RISing Rising edge FEDGe, FALLing Falling edge

set_source(source: str) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SOURce
driver.trigger.gprfMeasurement.spectrum.set_source(source = '1')

Selects a trigger event source for spectrum analysis. To query a list of all supported sources, use method RsCma.Trigger. GprfMeasurement.Spectrum.Catalog.source.

param source:

Source as string, examples: ‘Free Run’ Immediate start without trigger signal ‘Video’ Trigger by video power steps ‘Base1: External TRIG In’ Trigger signal at connector TRIG IN ‘AFRF Gen1: …’ Trigger by processed waveform file

set_threshold(threshold: float) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:THReshold
driver.trigger.gprfMeasurement.spectrum.set_threshold(threshold = 1.0)

Defines the trigger threshold for trigger source ‘Video’.

param threshold:

Range: -50 dB to 0 dB, Unit: dB (full scale, i.e. relative to expected power minus external attenuation)

set_timeout(trigger_timeout: float) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:TOUT
driver.trigger.gprfMeasurement.spectrum.set_timeout(trigger_timeout = 1.0)

Specifies the time after which an initiated measurement must have received a trigger event. If no trigger event is received, the measurement is stopped in remote control mode. In manual operation mode, a trigger timeout is indicated. This setting is relevant for the trigger source ‘Video’ and for trigger signals at TRIG IN.

param trigger_timeout:

Range: 0.01 s to 300 s, Unit: s

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.trigger.gprfMeasurement.spectrum.clone()

Subgroups