Slist

SCPI Commands :

SLISt:CLEar:[ALL]
SLISt:[LIST]
Commands in total: 9
Subgroups: 4
Direct child commands: 2
clear_all() None[source]
# SLISt:CLEar:[ALL]
driver.slist.clear_all()

Removes all R&S NRP power sensors from the list.

clear_all_with_opc(opc_timeout_ms: int = -1) None[source]
# SLISt:CLEar:[ALL]
driver.slist.clear_all_with_opc()

Removes all R&S NRP power sensors from the list.

Same as clear_all, but waits for the operation to complete before continuing further. Use the RsSmbv.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