Spectrum
SCPI Commands :
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SOURce
TRIGger:GPRF:MEASurement<Instance>:SPECtrum:THReshold
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.spectrum.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_offset() float [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:OFFSet value: float = driver.trigger.spectrum.get_offset()
Defines the trigger offset, i.e. the offset of a triggered zero span measurement relative to the corresponding trigger event.
- return:
trigger_offset: numeric 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.spectrum.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:
slope: REDGe | FEDGe REDGe: rising edge FEDGe: falling edge
- get_source() str [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SOURce value: str = driver.trigger.spectrum.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 ‘Free Run’: free run (untriggered) ‘Video’: power trigger at video band
- get_threshold() float [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:THReshold value: float = driver.trigger.spectrum.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>:SPECtrum:TOUT value: float or bool = driver.trigger.spectrum.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:
trigger_timeout: (float or boolean) numeric | ON | OFF 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>:SPECtrum:MGAP driver.trigger.spectrum.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_offset(trigger_offset: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:OFFSet driver.trigger.spectrum.set_offset(trigger_offset = 1.0)
Defines the trigger offset, i.e. the offset of a triggered zero span measurement relative to the corresponding trigger event.
- param trigger_offset:
numeric 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.spectrum.set_slope(slope = 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 slope:
REDGe | FEDGe REDGe: rising edge FEDGe: falling edge
- set_source(source: str) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:SOURce driver.trigger.spectrum.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 ‘Free Run’: free run (untriggered) ‘Video’: power trigger at video band
- set_threshold(threshold: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:THReshold driver.trigger.spectrum.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(trigger_timeout: float) None [source]
# SCPI: TRIGger:GPRF:MEASurement<Instance>:SPECtrum:TOUT driver.trigger.spectrum.set_timeout(trigger_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 trigger_timeout:
(float or boolean) numeric | ON | OFF 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.spectrum.clone()
Subgroups