Slist
SCPI Commands :
SLISt:CLEar:[ALL]
SLISt:[LIST]
- Commands in total: 9Subgroups: 4Direct child commands: 2
- clear_all() None[source]
# SLISt:CLEar:[ALL] driver.slist.clear_all()
Removes all entries of R&S NRP power sensors using the VISA communication protocol (USB or LAN) from the sensor mapping list. Does not affect sensors communicating over USB legacy protocol.
- clear_all_with_opc(opc_timeout_ms: int = -1) None[source]
# SLISt:CLEar:[ALL] driver.slist.clear_all_with_opc()
Removes all entries of R&S NRP power sensors using the VISA communication protocol (USB or LAN) from the sensor mapping list. Does not affect sensors communicating over USB legacy protocol.
Same as clear_all, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- get_list_py() List[str][source]
# SLISt:[LIST] value: List[str] = driver.slist.get_list_py()
Returns a list of all detected sensors in a comma-separated string.
- Returns:
sensor_list: String of comma-separated entries Each entry contains information on the sensor type, serial number and interface. The order of the entries does not correspond to the order the sensors are displayed in the ‘NRP Sensor Mapping’ dialog.
Cloning the Group
# Create a copy of the original group, that exists independently
slist_copy = driver.slist.clone()
Subgroups