Instruments

SCPI Commands :

INSTruments:CLEar
INSTruments:COUNt
INSTruments:NAME
INSTruments:SERial
INSTruments:TYPE
class InstrumentsCls[source]

Instruments commands group definition. 17 total commands, 6 Subgroups, 5 group commands

clear() None[source]
# SCPI: INSTruments:CLEar
driver.instruments.clear()

No command help available

clear_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: INSTruments:CLEar
driver.instruments.clear_with_opc()

No command help available

Same as clear, but waits for the operation to complete before continuing further. Use the RsSmw.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_count() float[source]
# SCPI: INSTruments:COUNt
value: float = driver.instruments.get_count()

No command help available

return

count: No help available

get_name() List[str][source]
# SCPI: INSTruments:NAME
value: List[str] = driver.instruments.get_name()

No command help available

return

name: No help available

get_serial() List[int][source]
# SCPI: INSTruments:SERial
value: List[int] = driver.instruments.get_serial()

No command help available

return

serial: No help available

get_type_py() str[source]
# SCPI: INSTruments:TYPE
value: str = driver.instruments.get_type_py()

No command help available

return

type_py: No help available

set_name(name: List[str]) None[source]
# SCPI: INSTruments:NAME
driver.instruments.set_name(name = ['abc1', 'abc2', 'abc3'])

No command help available

param name

No help available

set_serial(serial: List[int]) None[source]
# SCPI: INSTruments:SERial
driver.instruments.set_serial(serial = [1, 2, 3])

No command help available

param serial

No help available

set_type_py(type_py: str) None[source]
# SCPI: INSTruments:TYPE
driver.instruments.set_type_py(type_py = 'abc')

No command help available

param type_py

No help available

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.instruments.clone()

Subgroups