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
Commands in total: 207
Subgroups: 37
Direct child commands: 28
get_did() str[source]
# SYSTem:DID
value: str = driver.system.get_did()

No help available

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

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

Returns:

disp_lock_stat: 1 | ON | 0| OFF

get_iresponse() str[source]
# 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.

Returns:

idn_response: string

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

Disables the front panel keyboard of the instrument.

Returns:

state: 1 | ON | 0| OFF

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

Sets the remote control command set.

Returns:

language: string

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

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

Returns:

next_info: string

get_oresponse() str[source]
# 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.

Returns:

oresponse: string

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

Queries the operating system of the instrument.

Returns:

oper_system: string

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

No help available

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

No help available

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

No help available

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

No help available

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

No help available

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

Queries the up time of the operating system.

Returns:

up_time: ‘ddd.hh:mm:ss’

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

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

Returns:

version: string

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

Triggers an instrument reset. This command 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’

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

No help available

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

No help available

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

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

Parameters:

path_name – string

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

No help available

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

No help available

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

No help available

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

Saves the current R&S SMW200A 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 SMW200A assigns the extension (savrcltxt) automatically.

Parameters:

path_name – string

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

No help available

set_dlock(disp_lock_stat: bool) None[source]
# 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.

Parameters:

disp_lock_stat – 1 | ON | 0| OFF

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

No help available

set_iresponse(idn_response: str) None[source]
# 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.

Parameters:

idn_response – string

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

Disables the front panel keyboard of the instrument.

Parameters:

state – 1 | ON | 0| OFF

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

Sets the remote control command set.

Parameters:

language – string

set_oresponse(oresponse: str) None[source]
# 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.

Parameters:

oresponse – string

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

No help available

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

No help available

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

No help available

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

No help available

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

No help available

set_wait(time_ms: int) None[source]
# 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’.

Parameters:

time_ms – integer Wait time in ms Range: 0 to 10000

Cloning the Group

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

Subgroups