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: 207Subgroups: 37Direct child commands: 28
- set_crash ( test_scpi_generic: float ) None
# SYSTem:CRASh driver.system.set_crash(test_scpi_generic = 1.0)No help available
- get_did ( ) str
# SYSTem:DID value: str = driver.system.get_did()No help available
- get_dlock ( ) bool
- set_dlock ( disp_lock_stat: bool ) None
# SYSTem:DLOCk # get: value: bool = driver.system.get_dlock() # set: 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
# SYSTem:IMPort driver.system.set_import_py(filename = 'abc')No help available
- get_iresponse ( ) str
- set_iresponse ( idn_response: str ) None
# SYSTem:IRESponse # get: value: str = driver.system.get_iresponse() # set: 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 methodRsSmw.system.iresponse()is discarded.- Parameters:
idn_response – string
- get_klock ( ) bool
- set_klock ( state: bool ) None
# SYSTem:KLOCk # get: value: bool = driver.system.get_klock() # set: driver.system.set_klock(state = False)
Disables the front panel keyboard of the instrument.
- Parameters:
state – 1 | ON | 0| OFF
- get_language ( ) str
- set_language ( language: str ) None
# SYSTem:LANGuage # get: value: str = driver.system.get_language() # set: driver.system.set_language(language = 'abc')
Sets the remote control command set.
- Parameters:
language – string
- get_ninformation ( ) str
# 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
- set_oresponse ( oresponse: str ) None
# SYSTem:ORESponse # get: value: str = driver.system.get_oresponse() # set: 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 methodRsSmw.system.oresponse()is discarded.- Parameters:
oresponse – string
- get_osystem ( ) str
# SYSTem:OSYStem value: str = driver.system.get_osystem()Queries the operating system of the instrument.
- Returns:
oper_system: string
- preset ( pseudo_string: str ) None
# 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
*RSTcommand
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
# SYSTem:PRESet:ALL driver.system.preset_all(pseudo_string = 'abc')No help available
- preset_base ( pseudo_string: str ) None
# SYSTem:PRESet:BASE driver.system.preset_base(pseudo_string = 'abc')No help available
- recall ( path_name: str ) None
# 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
# SYSTem:RESet driver.system.reset(pseudo_string = 'abc')No help available
- reset_all ( pseudo_string: str ) None
# SYSTem:RESet:ALL driver.system.reset_all(pseudo_string = 'abc')No help available
- reset_base ( pseudo_string: str ) None
# SYSTem:RESet:BASE driver.system.reset_base(pseudo_string = 'abc')No help available
- save ( path_name: str ) None
# 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
- get_simulation ( ) bool
# SYSTem:SIMulation value: bool = driver.system.get_simulation()No help available
- get_sr_cat ( ) List[str]
# SYSTem:SRCat value: List[str] = driver.system.get_sr_cat()No help available
- get_sr_mode ( ) RecScpiCmdMode
- set_sr_mode ( mode: RecScpiCmdMode ) None
# SYSTem:SRMode # get: value: enums.RecScpiCmdMode = driver.system.get_sr_mode() # set: driver.system.set_sr_mode(mode = enums.RecScpiCmdMode.AUTO)
No help available
- get_sr_sel ( ) str
- set_sr_sel ( filename: str ) None
# SYSTem:SRSel # get: value: str = driver.system.get_sr_sel() # set: driver.system.set_sr_sel(filename = 'abc')
No help available
- set_srestore ( data_set: int ) None
# SYSTem:SREStore driver.system.set_srestore(data_set = 1)No help available
- set_ssave ( data_set: int ) None
# SYSTem:SSAVe driver.system.set_ssave(data_set = 1)No help available
- get_tzone ( ) str
- set_tzone ( pseudo_string: str ) None
# SYSTem:TZONe # get: value: str = driver.system.get_tzone() # set: driver.system.set_tzone(pseudo_string = 'abc')
No help available
- get_up_time ( ) str
# 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
# SYSTem:VERSion value: str = driver.system.get_version()Queries the SCPI version the instrument’s command set complies with.
- Returns:
version: string
- set_wait ( time_ms: int ) None
# 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