Restore

SCPI Commands

CONFigure:ALL:RESTore:DELete
CONFigure:ALL:RESTore:DELete:ALL
CONFigure:ALL:RESTore
class Restore[source]

Restore commands group definition. 4 total commands, 1 Sub-groups, 3 group commands

delete(restore_file_to_delete: str) None[source]
# SCPI: CONFigure:ALL:RESTore:DELete
driver.configure.all.restore.delete(restore_file_to_delete = '1')

Deletes a selected settings backup file from the switch unit’s internal flash memory. Use the command method RsOsp. Configure.All.Restore.Catalog.get_ to query the list of available backup files. All configuration filenames have the extension ‘.backup’. Do not enter the extension when specifying a filename. A filename query does not return the extension. For example, when you save the ‘Interconnection’ definition file ‘settings-2018-10-25’, it is saved as ‘settings-2018-10-25.backup’. A query returns this filename as ‘settings-2018-10-25’, only.

param restore_file_to_delete

String parameter to select the backup file to be deleted. If this file does not exist, a SCPI error is generated. You can query the error with SYST:ERR?. The result can be, for example: -200,’Execution error;File does not exist.,CONFigure:ALL:RESTore:DELete ‘’backup1’’’

delete_all(path_information: Optional[str] = None) None[source]
# SCPI: CONFigure:ALL:RESTore:DELete:ALL
driver.configure.all.restore.delete_all(path_information = '1')

Risk of losing settings: Removes all settings backup files from the switch unit’s internal memory or from a removable flash memory. Before you delete all settings backup files, we recommend using the command method RsOsp.Configure.All. Restore.Catalog.get_ to query the currently defined settings backup files. All configuration filenames have the extension ‘.backup’. Do not enter the extension when specifying a filename. A filename query does not return the extension. For example, when you save the ‘Interconnection’ definition file ‘settings-2018-10-25’, it is saved as ‘settings-2018-10-25.backup’. A query returns this filename as ‘settings-2018-10-25’, only.

param path_information

No help available

set_value(restore_file_to_restore: str) None[source]
# SCPI: CONFigure:ALL:RESTore
driver.configure.all.restore.set_value(restore_file_to_restore = '1')

Loads a file previously saved as a backup of all settings (see method RsOsp.Configure.All.backup) and uses it to overwrite the current settings. All configuration filenames have the extension ‘.backup’. Do not enter the extension when specifying a filename. A filename query does not return the extension. For example, when you save the ‘Interconnection’ definition file ‘settings-2018-10-25’, it is saved as ‘settings-2018-10-25.backup’. A query returns this filename as ‘settings-2018-10-25’, only. Risk of losing settings: This command overwrites all current settings in the switch unit’s internal memory with the settings in the loaded file. To avoid losing current settings, consider saving these settings by method RsOsp.Configure.All.backup, before you send the restore command.

param restore_file_to_restore

String parameter to select the backup file to be restored. The user interface (‘WebGUI’) shows only files that were saved in the default directory, hence, without specifying an additional file path.

Subgroups