Relative

SCPI Command :

CALCulate<n>:LIMit<li>:ACPower:ALTernate<ch>[:RELative]
Commands in total: 2
Subgroups: 1
Direct child commands: 1
class RelativeStruct[source]

Response structure. Fields:

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

  • 2 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]
# 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.

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

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

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

Returns:

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

set(lower_limit: float, upper_limit: float = None, window=Window.Default, limitIx=LimitIx.Default, channel=Channel.Default) None[source]
# 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.

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

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

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

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

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

Cloning the Group

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

Subgroups