System

SCPI Commands :

SYSTem:CRASh
SYSTem:DID
SYSTem:DLOCk
SYSTem:IMPort
SYSTem:IRESponse
SYSTem:KLOCk
SYSTem:LANGuage
SYSTem:NINFormation
SYSTem:ORESponse
SYSTem:OSYStem
SYSTem:PRESet
SYSTem:PRESet:ALL
SYSTem:PRESet:BASE
SYSTem:RCL
SYSTem:RESet
SYSTem:RESet:ALL
SYSTem:RESet:BASE
SYSTem:SAV
SYSTem:SIMulation
SYSTem:SRCat
SYSTem:SREStore
SYSTem:SRMode
SYSTem:SRSel
SYSTem:SSAVe
SYSTem:TZONe
SYSTem:UPTime
SYSTem:VERSion
SYSTem:WAIT
class SystemCls[source]

System commands group definition. 206 total commands, 36 Subgroups, 28 group commands

get_did() str[source]
# SCPI: SYSTem:DID
value: str = driver.system.get_did()

No command help available

return

pseudo_string: No help available

get_dlock() bool[source]
# SCPI: SYSTem:DLOCk
value: bool = driver.system.get_dlock()

Disables the manual operation over the display, including the front panel keyboard of the instrument.

return

disp_lock_stat: 1| ON| 0| OFF

get_iresponse() str[source]
# SCPI: SYSTem:IRESponse
value: str = driver.system.get_iresponse()

Defines the user defined identification string for *IDN. Note: While working in an emulation mode, the instrument’s specific command set is disabled, i.e. the SCPI command method RsSmw.System.iresponse is discarded.

return

idn_response: string

get_klock() bool[source]
# SCPI: SYSTem:KLOCk
value: bool = driver.system.get_klock()

Disables the front panel keyboard of the instrument.

return

state: 1| ON| 0| OFF

get_language() str[source]
# SCPI: SYSTem:LANGuage
value: str = driver.system.get_language()

Sets the remote control command set.

return

language: string

get_ninformation() str[source]
# SCPI: SYSTem:NINFormation
value: str = driver.system.get_ninformation()

Queries the oldest information message (‘Error History > Level > Info’) in the error/event queue.

return

next_info: string

get_oresponse() str[source]
# SCPI: SYSTem:ORESponse
value: str = driver.system.get_oresponse()

Defines the user defined response string for *OPT. Note: While working in an emulation mode, the instrument’s specific command set is disabled, i.e. the SCPI command method RsSmw.System.oresponse is discarded.

return

oresponse: string

get_osystem() str[source]
# SCPI: SYSTem:OSYStem
value: str = driver.system.get_osystem()

Queries the operating system of the instrument.

return

oper_system: string

get_simulation() bool[source]
# SCPI: SYSTem:SIMulation
value: bool = driver.system.get_simulation()

No command help available

return

status: No help available

get_sr_cat() List[str][source]
# SCPI: SYSTem:SRCat
value: List[str] = driver.system.get_sr_cat()

No command help available

return

catalog: No help available

get_sr_mode() RsSmw.enums.RecScpiCmdMode[source]
# SCPI: SYSTem:SRMode
value: enums.RecScpiCmdMode = driver.system.get_sr_mode()

No command help available

return

mode: No help available

get_sr_sel() str[source]
# SCPI: SYSTem:SRSel
value: str = driver.system.get_sr_sel()

No command help available

return

filename: No help available

get_tzone() str[source]
# SCPI: SYSTem:TZONe
value: str = driver.system.get_tzone()

No command help available

return

pseudo_string: No help available

get_up_time() str[source]
# SCPI: SYSTem:UPTime
value: str = driver.system.get_up_time()

Queries the up time of the operating system.

return

up_time: ‘ddd.hh:mm:ss’

get_version() str[source]
# SCPI: SYSTem:VERSion
value: str = driver.system.get_version()

Queries the SCPI version the instrument’s command set complies with.

return

version: string

preset(pseudo_string: str) None[source]
# SCPI: SYSTem:PRESet
driver.system.preset(pseudo_string = 'abc')


    INTRO_CMD_HELP: Triggers an instrument reset. It has the same effect as:

    - The [PRESET] key. However, the command does not close open GUI dialogs like the key does.
    - The *RST command

For an overview of the settings affected by the preset function, see Table ‘Key parameters affected by preset and factory preset’

param pseudo_string

No help available

preset_all(pseudo_string: str) None[source]
# SCPI: SYSTem:PRESet:ALL
driver.system.preset_all(pseudo_string = 'abc')

No command help available

param pseudo_string

No help available

preset_base(pseudo_string: str) None[source]
# SCPI: SYSTem:PRESet:BASE
driver.system.preset_base(pseudo_string = 'abc')

No command help available

param pseudo_string

No help available

recall(path_name: str) None[source]
# SCPI: SYSTem:RCL
driver.system.recall(path_name = 'abc')

Selects and uploads a *.savrcltxt file with previously saved R&S SMW settings from the default or a specified directory.

param path_name

string

reset(pseudo_string: str) None[source]
# SCPI: SYSTem:RESet
driver.system.reset(pseudo_string = 'abc')

No command help available

param pseudo_string

No help available

reset_all(pseudo_string: str) None[source]
# SCPI: SYSTem:RESet:ALL
driver.system.reset_all(pseudo_string = 'abc')

No command help available

param pseudo_string

No help available

reset_base(pseudo_string: str) None[source]
# SCPI: SYSTem:RESet:BASE
driver.system.reset_base(pseudo_string = 'abc')

No command help available

param pseudo_string

No help available

save(path_name: str) None[source]
# SCPI: SYSTem:SAV
driver.system.save(path_name = 'abc')

Saves the current R&S SMW settings in a file. To deteremine the file name and storage location, enter the directory and file name with the command. According to the file type, the R&S SMW assigns the extension (*.savrcltxt) automatically.

param path_name

string

set_crash(test_scpi_generic: float) None[source]
# SCPI: SYSTem:CRASh
driver.system.set_crash(test_scpi_generic = 1.0)

No command help available

param test_scpi_generic

No help available

set_dlock(disp_lock_stat: bool) None[source]
# SCPI: SYSTem:DLOCk
driver.system.set_dlock(disp_lock_stat = False)

Disables the manual operation over the display, including the front panel keyboard of the instrument.

param disp_lock_stat

1| ON| 0| OFF

set_import_py(filename: str) None[source]
# SCPI: SYSTem:IMPort
driver.system.set_import_py(filename = 'abc')

No command help available

param filename

No help available

set_iresponse(idn_response: str) None[source]
# SCPI: SYSTem:IRESponse
driver.system.set_iresponse(idn_response = 'abc')

Defines the user defined identification string for *IDN. Note: While working in an emulation mode, the instrument’s specific command set is disabled, i.e. the SCPI command method RsSmw.System.iresponse is discarded.

param idn_response

string

set_klock(state: bool) None[source]
# SCPI: SYSTem:KLOCk
driver.system.set_klock(state = False)

Disables the front panel keyboard of the instrument.

param state

1| ON| 0| OFF

set_language(language: str) None[source]
# SCPI: SYSTem:LANGuage
driver.system.set_language(language = 'abc')

Sets the remote control command set.

param language

string

set_oresponse(oresponse: str) None[source]
# SCPI: SYSTem:ORESponse
driver.system.set_oresponse(oresponse = 'abc')

Defines the user defined response string for *OPT. Note: While working in an emulation mode, the instrument’s specific command set is disabled, i.e. the SCPI command method RsSmw.System.oresponse is discarded.

param oresponse

string

set_sr_mode(mode: RsSmw.enums.RecScpiCmdMode) None[source]
# SCPI: SYSTem:SRMode
driver.system.set_sr_mode(mode = enums.RecScpiCmdMode.AUTO)

No command help available

param mode

No help available

set_sr_sel(filename: str) None[source]
# SCPI: SYSTem:SRSel
driver.system.set_sr_sel(filename = 'abc')

No command help available

param filename

No help available

set_srestore(data_set: int) None[source]
# SCPI: SYSTem:SREStore
driver.system.set_srestore(data_set = 1)

No command help available

param data_set

No help available

set_ssave(data_set: int) None[source]
# SCPI: SYSTem:SSAVe
driver.system.set_ssave(data_set = 1)

No command help available

param data_set

No help available

set_tzone(pseudo_string: str) None[source]
# SCPI: SYSTem:TZONe
driver.system.set_tzone(pseudo_string = 'abc')

No command help available

param pseudo_string

No help available

set_wait(time_ms: int) None[source]
# SCPI: SYSTem:WAIT
driver.system.set_wait(time_ms = 1)

Delays the execution of the subsequent remote command by the specified time. This function is useful, for example to execute an SCPI sequence automatically but with a defined time delay between some commands. See ‘How to assign actions to the [USER] key’.

param time_ms

integer Wait time in ms Range: 0 to 10000

Cloning the Group

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

Subgroups