Power

SCPI Command:

TRIGger:GPRF:MEASurement<Instance>:POWer:SOURce
TRIGger:GPRF:MEASurement<Instance>:POWer:MGAP
TRIGger:GPRF:MEASurement<Instance>:POWer:TOUT
TRIGger:GPRF:MEASurement<Instance>:POWer:OFFSet
TRIGger:GPRF:MEASurement<Instance>:POWer:MODE
TRIGger:GPRF:MEASurement<Instance>:POWer:THReshold
TRIGger:GPRF:MEASurement<Instance>:POWer:SLOPe
class PowerCls[source]

Power commands group definition. 8 total commands, 1 Subgroups, 7 group commands

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

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

return:

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

get_mode() PowerMode[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MODE
value: enums.PowerMode = driver.trigger.gprfMeasurement.power.get_mode()

Selects the trigger mode for the measurement. This setting is relevant for the trigger source ‘IF Power’ and for trigger signals at TRIG IN.

return:

mode: ONCE | SWEep | ALL ONCE Only the start of the measurement is triggered SWEep Each measurement cycle is triggered ALL Each measurement interval is triggered

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

Defines a delay time for triggered measurements. The trigger offset delays the start of the measurement relative to the trigger event.

return:

offset: Range: 0 s to 1 s, Unit: s

get_slope() SignalSlopeExt[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:SLOPe
value: enums.SignalSlopeExt = driver.trigger.gprfMeasurement.power.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 ‘IF Power’.

return:

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

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

Selects a trigger event source for power measurements. To query a list of all supported sources, use method RsCma.Trigger. GprfMeasurement.Power.Catalog.source.

return:

source: Source as string, examples: ‘Free Run’ Immediate start without trigger signal ‘IF Power’ Trigger by IF 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>:POWer:THReshold
value: float = driver.trigger.gprfMeasurement.power.get_threshold()

Defines the trigger threshold for trigger source ‘IF Power’.

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>:POWer:TOUT
value: float or bool = driver.trigger.gprfMeasurement.power.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 ‘IF Power’ and for trigger signals at TRIG IN.

return:

timeout: (float or boolean) Range: 0.01 s to 300 s, Unit: s

set_mgap(minimum_gap: float) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MGAP
driver.trigger.gprfMeasurement.power.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 ‘IF Power’.

param minimum_gap:

Range: 0 s to 0.01 s, Unit: s

set_mode(mode: PowerMode) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MODE
driver.trigger.gprfMeasurement.power.set_mode(mode = enums.PowerMode.ALL)

Selects the trigger mode for the measurement. This setting is relevant for the trigger source ‘IF Power’ and for trigger signals at TRIG IN.

param mode:

ONCE | SWEep | ALL ONCE Only the start of the measurement is triggered SWEep Each measurement cycle is triggered ALL Each measurement interval is triggered

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

Defines a delay time for triggered measurements. The trigger offset delays the start of the measurement relative to the trigger event.

param offset:

Range: 0 s to 1 s, Unit: s

set_slope(event: SignalSlopeExt) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:SLOPe
driver.trigger.gprfMeasurement.power.set_slope(event = 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 ‘IF Power’.

param event:

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

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

Selects a trigger event source for power measurements. To query a list of all supported sources, use method RsCma.Trigger. GprfMeasurement.Power.Catalog.source.

param source:

Source as string, examples: ‘Free Run’ Immediate start without trigger signal ‘IF Power’ Trigger by IF 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>:POWer:THReshold
driver.trigger.gprfMeasurement.power.set_threshold(threshold = 1.0)

Defines the trigger threshold for trigger source ‘IF Power’.

param threshold:

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

set_timeout(timeout: float) None[source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:TOUT
driver.trigger.gprfMeasurement.power.set_timeout(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 ‘IF Power’ and for trigger signals at TRIG IN.

param timeout:

(float or boolean) 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.power.clone()

Subgroups