State

SCPI Command :

SOURce:GPRF:GENerator<Instance>:SEQuencer:STATe
class StateCls[source]

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

get() GeneratorState[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:SEQuencer:STATe
value: enums.GeneratorState = driver.source.sequencer.state.get()

Turns the generator on or off.

return:

generator_state: OFF | PENDing | ON | RDY OFF: generator switched off PEND: state transition ongoing ON: generator switched on, signal available RDY: generator switched off, sequencer list processing complete for ‘Repetition’=’Single’

set(control: bool) None[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:SEQuencer:STATe
driver.source.sequencer.state.set(control = False)

Turns the generator on or off.

param control:

ON | OFF Switch the generator ON or OFF.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.sequencer.state.clone()

Subgroups