Scrpt#

SCPI Commands :

SYSTem:SCRPt:ARG
SYSTem:SCRPt:CMD
SYSTem:SCRPt:DATA
SYSTem:SCRPt:RUN
Commands in total: 5
Subgroups: 1
Direct child commands: 4
get_arg ( ) → str
set_arg ( arguments: str ) → None
# SYSTem:SCRPt:ARG
# get:
value: str = driver.system.scrpt.get_arg()
# set:
driver.system.scrpt.set_arg(arguments = 'abc')

No help available

get_cmd ( ) → str
set_cmd ( cmd_file: str ) → None
# SYSTem:SCRPt:CMD
# get:
value: str = driver.system.scrpt.get_cmd()
# set:
driver.system.scrpt.set_cmd(cmd_file = 'abc')

No help available

get_data ( ) → str
set_data ( data_file: str ) → None
# SYSTem:SCRPt:DATA
# get:
value: str = driver.system.scrpt.get_data()
# set:
driver.system.scrpt.set_data(data_file = 'abc')

No help available

run ( ) → None
run_with_opc ( opc_timeout_ms: int = -1 ) → None
# SYSTem:SCRPt:RUN
driver.system.scrpt.run()
driver.system.scrpt.run_with_opc(opc_timeout_ms = 3000)

No help available

run_with_opc() does the same as run(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

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

Cloning the Group

# Create a copy of the original group, that exists independently
scrpt_copy = driver.system.scrpt.clone()

Subgroups