Scan#
SCPI Commands :
- SCONfiguration:EXTernal:REMote:SCAN
- SCONfiguration:EXTernal:REMote:SCAN:STATe
- Commands in total: 2Subgroups: 0Direct child commands: 2
- set ( ) None
- set_with_opc ( opc_timeout_ms: int = -1 ) None
# SCONfiguration:EXTernal:REMote:SCAN # set: driver.sconfiguration.external.remote.scan.set() # set_with_opc: driver.sconfiguration.external.remote.scan.set_with_opc(opc_timeout_ms = 3000)
Scans the network for connected instruments.
set_with_opc()does the same asset(), but waits for the operation to complete before continuing further. Use theRsSmw.utilities.opc_timeoutto set the timeout value.- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- get_state ( ) bool
# SCONfiguration:EXTernal:REMote:SCAN:STATe value: bool = driver.sconfiguration.external.remote.scan.get_state()Queries if scanning is performed or not. To start the scanning process, use the command method
RsSmw.sconfiguration.external.remote.scan.set().- Returns:
scan_state: 1 | ON | 0| OFF
1: Scanning process running
0: Not scanning