Magnitude
SCPI Command :
CALCulate<n>:PMETer<p>:RELative[:MAGNitude]
- class MagnitudeCls[source]
Magnitude commands group definition. 2 total commands, 1 Subgroups, 1 group commands
- get(window=Window.Default, powerMeter=PowerMeter.Default) float [source]
# SCPI: CALCulate<n>:PMETer<p>:RELative[:MAGNitude] value: float = driver.calculate.pmeter.relative.magnitude.get(window = repcap.Window.Default, powerMeter = repcap.PowerMeter.Default)
Defines the reference value for relative measurements.
- param window
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)
- param powerMeter
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pmeter’)
- return
ref_value: Range: -200 dBm to 200 dBm, Unit: DBM
- set(ref_value: float, window=Window.Default, powerMeter=PowerMeter.Default) None [source]
# SCPI: CALCulate<n>:PMETer<p>:RELative[:MAGNitude] driver.calculate.pmeter.relative.magnitude.set(ref_value = 1.0, window = repcap.Window.Default, powerMeter = repcap.PowerMeter.Default)
Defines the reference value for relative measurements.
- param ref_value
Range: -200 dBm to 200 dBm, Unit: DBM
- param window
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)
- param powerMeter
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pmeter’)
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.calculate.pmeter.relative.magnitude.clone()
Subgroups