Sweep#

SCPI Command :

[SOURce<HW>]:SWEep:RESet:[ALL]
Commands in total: 27
Subgroups: 3
Direct child commands: 1
reset_all ( ) → None
reset_all_with_opc ( opc_timeout_ms: int = -1 ) → None
# [SOURce<HW>]:SWEep:RESet:[ALL]
driver.source.sweep.reset_all()
driver.source.sweep.reset_all_with_opc(opc_timeout_ms = 3000)

Resets all active sweeps to the starting point.

reset_all_with_opc() does the same as reset_all(), 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
sweep_copy = driver.source.sweep.clone()

Subgroups