Slist

SCPI Commands :

SLISt:CLEar:[ALL]
SLISt:[LIST]
class SlistCls[source]

Slist commands group definition. 9 total commands, 4 Subgroups, 2 group commands

clear_all() None[source]
# SCPI: 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]
# SCPI: 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.

param opc_timeout_ms

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

get_list_py() List[str][source]
# SCPI: SLISt:[LIST]
value: List[str] = driver.slist.get_list_py()

Returns a list of all detected sensors in a comma-separated string.

return

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 clone of the original group, that exists independently
group2 = driver.slist.clone()

Subgroups