State
SCPI Command :
SOURce:EXTernal<gen>[:STATe]
- class StateCls[source]
State commands group definition. 1 total commands, 0 Subgroups, 1 group commands
- get(externalGen=ExternalGen.Nr1) bool [source]
# SCPI: SOURce:EXTernal<gen>[:STATe] value: bool = driver.source.external.state.get(externalGen = repcap.ExternalGen.Nr1)
Activates or deactivates the connected external generator. Is only valid if External Generator Control (R&S FSW-B10) is installed and active.
- param externalGen
optional repeated capability selector. Default value: Nr1
- return
state: ON | OFF | 0 | 1 OFF | 0 Switches the function off ON | 1 Switches the function on
- set(state: bool, externalGen=ExternalGen.Nr1) None [source]
# SCPI: SOURce:EXTernal<gen>[:STATe] driver.source.external.state.set(state = False, externalGen = repcap.ExternalGen.Nr1)
Activates or deactivates the connected external generator. Is only valid if External Generator Control (R&S FSW-B10) is installed and active.
- param state
ON | OFF | 0 | 1 OFF | 0 Switches the function off ON | 1 Switches the function on
- param externalGen
optional repeated capability selector. Default value: Nr1