User

SCPI Commands :

[SOURce<HW>]:CORRection:FRESponse:RF:USER:LOAD
[SOURce<HW>]:CORRection:FRESponse:RF:USER:PRESet
[SOURce<HW>]:CORRection:FRESponse:RF:USER:STORe
[SOURce<HW>]:CORRection:FRESponse:RF:USER:[STATe]
class UserCls[source]

User commands group definition. 21 total commands, 4 Subgroups, 4 group commands

get_load() str[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:LOAD
value: str = driver.source.correction.fresponse.rf.user.get_load()

Loads the selected file from the default or the specified directory. Loaded are files with extension *.freqresp. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.

return

freq_resp_rf_rcl: ‘filename’ Filename or complete file path; file extension can be omitted

get_state() bool[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:[STATe]
value: bool = driver.source.correction.fresponse.rf.user.get_state()

Enables/disables the frequency response correction.

return

freq_resp_state: 1| ON| 0| OFF

get_store() str[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:STORe
value: str = driver.source.correction.fresponse.rf.user.get_store()

Saves the current settings into the selected file; the file extension (*.freqresp) is assigned automatically. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.

return

freq_resp_rf_save: ‘filename’ Filename or complete file path

preset() None[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:PRESet
driver.source.correction.fresponse.rf.user.preset()

Sets the option’s parameters to their default values (*RST values specified for the commands) . Not affected is the state set with the command [:SOURce<hw>]:CORRection:FRESponse:RF:USER[:STATe].

preset_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:PRESet
driver.source.correction.fresponse.rf.user.preset_with_opc()

Sets the option’s parameters to their default values (*RST values specified for the commands) . Not affected is the state set with the command [:SOURce<hw>]:CORRection:FRESponse:RF:USER[:STATe].

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

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

set_load(freq_resp_rf_rcl: str) None[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:LOAD
driver.source.correction.fresponse.rf.user.set_load(freq_resp_rf_rcl = 'abc')

Loads the selected file from the default or the specified directory. Loaded are files with extension *.freqresp. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.

param freq_resp_rf_rcl

‘filename’ Filename or complete file path; file extension can be omitted

set_state(freq_resp_state: bool) None[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:[STATe]
driver.source.correction.fresponse.rf.user.set_state(freq_resp_state = False)

Enables/disables the frequency response correction.

param freq_resp_state

1| ON| 0| OFF

set_store(freq_resp_rf_save: str) None[source]
# SCPI: [SOURce<HW>]:CORRection:FRESponse:RF:USER:STORe
driver.source.correction.fresponse.rf.user.set_store(freq_resp_rf_save = 'abc')

Saves the current settings into the selected file; the file extension (*.freqresp) is assigned automatically. Refer to ‘Accessing Files in the Default or Specified Directory’ for general information on file handling in the default and in a specific directory.

param freq_resp_rf_save

‘filename’ Filename or complete file path

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.correction.fresponse.rf.user.clone()

Subgroups