Relative

SCPI Command :

CALCulate<n>:LIMit<li>:ACPower:ALTernate<ch>[:RELative]
class RelativeCls[source]

Relative commands group definition. 2 total commands, 1 Subgroups, 1 group commands

class RelativeStruct[source]

Response structure. Fields:

  • Lower_Limit: float: The limit of the lower alternate channel. Range: 0 dB to 100 dB, Unit: dB

  • Upper_Limit: float: The limit of the upper alternate channel. Range: 0 dB to 100 dB, Unit: dB

get(window=Window.Default, limitIx=LimitIx.Default, channel=Channel.Default) RelativeStruct[source]
# SCPI: CALCulate<n>:LIMit<li>:ACPower:ALTernate<ch>[:RELative]
value: RelativeStruct = driver.calculate.limit.acPower.alternate.relative.get(window = repcap.Window.Default, limitIx = repcap.LimitIx.Default, channel = repcap.Channel.Default)

Defines the relative limit of the alternate channels. The reference value for the relative limit is the measured channel power. If you have defined an absolute limit as well as a relative limit, the FSW uses the lower value for the limit check.

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

param limitIx

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Limit’)

param channel

optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Alternate’)

return

structure: for return value, see the help for RelativeStruct structure arguments.

set(lower_limit: float, upper_limit: Optional[float] = None, window=Window.Default, limitIx=LimitIx.Default, channel=Channel.Default) None[source]
# SCPI: CALCulate<n>:LIMit<li>:ACPower:ALTernate<ch>[:RELative]
driver.calculate.limit.acPower.alternate.relative.set(lower_limit = 1.0, upper_limit = 1.0, window = repcap.Window.Default, limitIx = repcap.LimitIx.Default, channel = repcap.Channel.Default)

Defines the relative limit of the alternate channels. The reference value for the relative limit is the measured channel power. If you have defined an absolute limit as well as a relative limit, the FSW uses the lower value for the limit check.

param lower_limit

The limit of the lower alternate channel. Range: 0 dB to 100 dB, Unit: dB

param upper_limit

The limit of the upper alternate channel. Range: 0 dB to 100 dB, Unit: dB

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

param limitIx

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Limit’)

param channel

optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Alternate’)

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.calculate.limit.acPower.alternate.relative.clone()

Subgroups