State

SCPI Command :

CALCulate<n>:LIMit<li>:ESPectrum<sb>:PCLass<pc>:LIMit[:STATe]
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(window=Window.Default, limitIx=LimitIx.Default, subBlock=SubBlock.Default, powerClass=PowerClass.Default) LimitState[source]
# 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.

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’)

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

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

Returns:

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: LimitState, window=Window.Default, limitIx=LimitIx.Default, subBlock=SubBlock.Default, powerClass=PowerClass.Default) None[source]
# 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.

Parameters:
  • 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.

  • 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’)

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

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