Power
SCPI Commands :
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. 10 total commands, 2 Subgroups, 7 group commands
- get_mgap() float [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MGAP value: float = driver.trigger.power.get_mgap()
Sets a minimum time during which the IF signal must be below the trigger threshold before the trigger is armed so that an IF power trigger event can be generated.
- return:
minimum_gap: numeric Range: 0 s to 0.01 s, Unit: s
- get_mode() TriggerPowerMode [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MODE value: enums.TriggerPowerMode = driver.trigger.power.get_mode()
Selects the measurement sequence that is triggered by each single trigger event. This setting is not valid for free run measurements.
- return:
mode: ONCE | SWEep | ALL | PRESelect ONCE: ‘Trigger Once’ SWEep: ‘Retrigger Sweep’ ALL: ‘Retrigger All’ PRESelect: ‘Retrigger Preselect’
- get_offset() float [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:OFFSet value: float = driver.trigger.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: numeric Range: 0 s to 1 s, Unit: s
- get_slope() SignalSlopeExt [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:SLOPe value: enums.SignalSlopeExt = driver.trigger.power.get_slope()
Qualifies whether the trigger event is generated at the rising or at the falling edge of the trigger pulse (valid for external and power trigger sources) .
- return:
event: REDGe | FEDGe REDGe: rising edge FEDGe: falling edge
- get_source() str [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:SOURce value: str = driver.trigger.power.get_source()
Selects the source of the trigger events. Some values are always available. They are listed below. Depending on the installed options, additional values are available. You can query a list of all supported values via TRIGger:… :CATalog:SOURce?.
- return:
source: string ‘IF Power’: IF power trigger ‘Free Run’: free run (untriggered)
- get_threshold() float [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:THReshold value: float = driver.trigger.power.get_threshold()
Defines the trigger threshold for power trigger sources.
- return:
threshold: numeric Range: -50 dB to 0 dB, Unit: dB (full scale, i.e. relative to reference level minus external attenuation)
- get_timeout() float [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:TOUT value: float or bool = driver.trigger.power.get_timeout()
Selects the maximum time that the measurement waits for a trigger event before it stops in remote control mode or indicates a trigger timeout in manual operation mode. This setting has no influence on ‘Free Run’ measurements.
- return:
timeout: (float or boolean) Range: 0.01 s to 300 s, Unit: s ON | OFF enables or disables the timeout check.
- set_mgap(minimum_gap: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MGAP driver.trigger.power.set_mgap(minimum_gap = 1.0)
Sets a minimum time during which the IF signal must be below the trigger threshold before the trigger is armed so that an IF power trigger event can be generated.
- param minimum_gap:
numeric Range: 0 s to 0.01 s, Unit: s
- set_mode(mode: TriggerPowerMode) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:MODE driver.trigger.power.set_mode(mode = enums.TriggerPowerMode.ALL)
Selects the measurement sequence that is triggered by each single trigger event. This setting is not valid for free run measurements.
- param mode:
ONCE | SWEep | ALL | PRESelect ONCE: ‘Trigger Once’ SWEep: ‘Retrigger Sweep’ ALL: ‘Retrigger All’ PRESelect: ‘Retrigger Preselect’
- set_offset(offset: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:OFFSet driver.trigger.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:
numeric Range: 0 s to 1 s, Unit: s
- set_slope(event: SignalSlopeExt) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:SLOPe driver.trigger.power.set_slope(event = enums.SignalSlopeExt.FALLing)
Qualifies whether the trigger event is generated at the rising or at the falling edge of the trigger pulse (valid for external and power trigger sources) .
- param event:
REDGe | FEDGe REDGe: rising edge FEDGe: falling edge
- set_source(source: str) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:SOURce driver.trigger.power.set_source(source = 'abc')
Selects the source of the trigger events. Some values are always available. They are listed below. Depending on the installed options, additional values are available. You can query a list of all supported values via TRIGger:… :CATalog:SOURce?.
- param source:
string ‘IF Power’: IF power trigger ‘Free Run’: free run (untriggered)
- set_threshold(threshold: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:THReshold driver.trigger.power.set_threshold(threshold = 1.0)
Defines the trigger threshold for power trigger sources.
- param threshold:
numeric Range: -50 dB to 0 dB, Unit: dB (full scale, i.e. relative to reference level minus external attenuation)
- set_timeout(timeout: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:POWer:TOUT driver.trigger.power.set_timeout(timeout = 1.0)
Selects the maximum time that the measurement waits for a trigger event before it stops in remote control mode or indicates a trigger timeout in manual operation mode. This setting has no influence on ‘Free Run’ measurements.
- param timeout:
(float or boolean) Range: 0.01 s to 300 s, Unit: s ON | OFF enables or disables the timeout check.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.trigger.power.clone()
Subgroups