Source#

SCPI Command :

SOURce<HW>:PRESet
Commands in total: 13014
Subgroups: 31
Direct child commands: 1
preset ( ) → None
preset_with_opc ( opc_timeout_ms: int = -1 ) → None
# SOURce<HW>:PRESet
driver.source.preset()
driver.source.preset_with_opc(opc_timeout_ms = 3000)

Supported in 2x1x1 configurations:

  • method RsSmw.sconfiguration.mode() STANdard

  • method RsSmw.sconfiguration.mode() ADVanced with method RsSmw.sconfiguration.fading() FAAFBB

Presets all parameters which are related to the selected signal path. Fading simulator (if available) and the transient recorder are only preset by the command *RST.

preset_with_opc() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

Cloning the Group

# Create a copy of the original group, that exists independently
source_copy = driver.source.clone()

Subgroups