State

SCPI Command :

CALCulate<n>:LIMit<li>:ESPectrum<sb>:PCLass<pc>:LIMit[:STATe]
class StateCls[source]

State commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get(window=Window.Default, limitIx=LimitIx.Default, subBlock=SubBlock.Default, powerClass=PowerClass.Default) RsFsw.enums.LimitState[source]
# SCPI: CALCulate<n>:LIMit<li>:ESPectrum<sb>:PCLass<pc>:LIMit[:STATe]
value: enums.LimitState = driver.calculate.limit.espectrum.pclass.limit.state.get(window = repcap.Window.Default, limitIx = repcap.LimitIx.Default, subBlock = repcap.SubBlock.Default, powerClass = repcap.PowerClass.Default)

Selects the limit check mode for each power class.

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 subBlock

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

param powerClass

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

return

state: ABSolute | RELative | AND | OR ABSolute Evaluates only limit lines with absolute power values RELative Evaluates only limit lines with relative power values AND Evaluates limit lines with relative and absolute power values. A negative result is returned if both limits fail. OR Evaluates limit lines with relative and absolute power values. A negative result is returned if at least one limit failed.

set(state: RsFsw.enums.LimitState, window=Window.Default, limitIx=LimitIx.Default, subBlock=SubBlock.Default, powerClass=PowerClass.Default) None[source]
# SCPI: CALCulate<n>:LIMit<li>:ESPectrum<sb>:PCLass<pc>:LIMit[:STATe]
driver.calculate.limit.espectrum.pclass.limit.state.set(state = enums.LimitState.ABSolute, window = repcap.Window.Default, limitIx = repcap.LimitIx.Default, subBlock = repcap.SubBlock.Default, powerClass = repcap.PowerClass.Default)

Selects the limit check mode for each power class.

param state

ABSolute | RELative | AND | OR ABSolute Evaluates only limit lines with absolute power values RELative Evaluates only limit lines with relative power values AND Evaluates limit lines with relative and absolute power values. A negative result is returned if both limits fail. OR Evaluates limit lines with relative and absolute power values. A negative result is returned if at least one limit failed.

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 subBlock

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

param powerClass

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