State

SCPI Command :

[SENSe]:ESPectrum<sb>:RANGe<ri>:LIMit<li>:STATe
class StateCls[source]

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

get(subBlock=SubBlock.Default, rangePy=RangePy.Default, limitIx=LimitIx.Default) RsFsw.enums.LimitState[source]
# SCPI: [SENSe]:ESPectrum<sb>:RANGe<ri>:LIMit<li>:STATe
value: enums.LimitState = driver.sense.espectrum.range.limit.state.get(subBlock = repcap.SubBlock.Default, rangePy = repcap.RangePy.Default, limitIx = repcap.LimitIx.Default)

Selects the limit check mode for all SEM ranges (<range> is irrelevant) .

param subBlock

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

param rangePy

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

param limitIx

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

return

state: ABSolute | RELative | AND | OR ABSolute Checks only the absolute limits defined. RELative Checks only the relative limits. Relative limits are defined as relative to the measured power in the reference range. AND Combines the absolute and relative limit. The limit check fails when both limits are violated. OR Combines the absolute and relative limit. The limit check fails when one of the limits is violated.

set(state: RsFsw.enums.LimitState, subBlock=SubBlock.Default, rangePy=RangePy.Default, limitIx=LimitIx.Default) None[source]
# SCPI: [SENSe]:ESPectrum<sb>:RANGe<ri>:LIMit<li>:STATe
driver.sense.espectrum.range.limit.state.set(state = enums.LimitState.ABSolute, subBlock = repcap.SubBlock.Default, rangePy = repcap.RangePy.Default, limitIx = repcap.LimitIx.Default)

Selects the limit check mode for all SEM ranges (<range> is irrelevant) .

param state

ABSolute | RELative | AND | OR ABSolute Checks only the absolute limits defined. RELative Checks only the relative limits. Relative limits are defined as relative to the measured power in the reference range. AND Combines the absolute and relative limit. The limit check fails when both limits are violated. OR Combines the absolute and relative limit. The limit check fails when one of the limits is violated.

param subBlock

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

param rangePy

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

param limitIx

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