State<Status>

RepCap Settings

# Range: Nr1 .. Nr32
rc = driver.sense.sweep.egate.trace.state.repcap_status_get()
driver.sense.sweep.egate.trace.state.repcap_status_set(repcap.Status.Nr1)

SCPI Command :

[SENSe]:SWEep:EGATe:TRACe<t>[:STATe<gr>]
class StateCls[source]

State commands group definition. 1 total commands, 0 Subgroups, 1 group commands Repeated Capability: Status, default value after init: Status.Nr1

get(trace=Trace.Default, status=Status.Default) bool[source]
# SCPI: [SENSe]:SWEep:EGATe:TRACe<t>[:STATe<gr>]
value: bool = driver.sense.sweep.egate.trace.state.get(trace = repcap.Trace.Default, status = repcap.Status.Default)

Includes or excludes a gate range for a particular trace.

param trace

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

param status

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

return

state: ON | OFF | 0 | 1 OFF | 0 Switches the function off ON | 1 Switches the function on

set(state: bool, trace=Trace.Default, status=Status.Default) None[source]
# SCPI: [SENSe]:SWEep:EGATe:TRACe<t>[:STATe<gr>]
driver.sense.sweep.egate.trace.state.set(state = False, trace = repcap.Trace.Default, status = repcap.Status.Default)

Includes or excludes a gate range for a particular trace.

param state

ON | OFF | 0 | 1 OFF | 0 Switches the function off ON | 1 Switches the function on

param trace

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

param status

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.sense.sweep.egate.trace.state.clone()