State
SCPI Command:
SOURce:XRT:GENerator<Instance>:STATe
SOURce:XRT:GENerator<Instance>:STATe:ALL
- class StateCls[source]
State commands group definition. 2 total commands, 0 Subgroups, 2 group commands
- get() GeneratorState [source]
# SCPI: SOURce:XRT:GENerator<Instance>:STATe value: enums.GeneratorState = driver.source.xrt.generator.state.get()
Starts and stops the XRT100 generator.
- return:
gen_state: OFF | ON | PENDing OFF Generator is off. ON Generator is running. PENDing Start or stop of the generator is ongoing.
- get_all() List[GeneratorState] [source]
# SCPI: SOURce:XRT:GENerator<Instance>:STATe:ALL value: List[enums.GeneratorState] = driver.source.xrt.generator.state.get_all()
Queries all states of the XRT100 generator.
- return:
all_states: OFF | ON | PENDing
- set(gen_control: bool) None [source]
# SCPI: SOURce:XRT:GENerator<Instance>:STATe driver.source.xrt.generator.state.set(gen_control = False)
Starts and stops the XRT100 generator.
- param gen_control:
ON | OFF ON Starts the generator. OFF Stops the generator.