State

SCPI Command :

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

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

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

Turns the generator on or off.

return:

generator_state: OFF: Generator switched off. PEND: State transition ongoing. ON: Generator switched on, signal available.

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

Turns the generator on or off.

param control:

Switch the generator ON or OFF.

Cloning the Group

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

Subgroups