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]
Commands in total: 21
Subgroups: 4
Direct child commands: 4
get_load() str[source]
# [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.

Returns:

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

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

Enables the frequency response correction.

Returns:

freq_resp_state: 1 | ON | 0| OFF

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

Returns:

freq_resp_rf_save: ‘filename’ Filename or complete file path

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

Sets the parameters to their default values (*RST values specified for the commands) . Not affected is the state set with the method RsSmw.source.correction.fresponse.rf.user.state() .

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

Sets the parameters to their default values (*RST values specified for the commands) . Not affected is the state set with the method RsSmw.source.correction.fresponse.rf.user.state() .

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

Parameters:

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

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

Parameters:

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

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

Enables the frequency response correction.

Parameters:

freq_resp_state – 1 | ON | 0| OFF

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

Parameters:

freq_resp_rf_save – ‘filename’ Filename or complete file path

Cloning the Group

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

Subgroups