Path

SCPI Commands

ROUTe:PATH:CATalog
ROUTe:PATH:LAST
ROUTe:PATH:DELete:ALL
ROUTe:PATH:EXPort
class Path[source]

Path commands group definition. 10 total commands, 3 Sub-groups, 4 group commands

delete_all() None[source]
# SCPI: ROUTe:PATH:DELete:ALL
driver.route.path.delete_all()

Deletes all previously defined paths from the switch unit’s internal volatile memory. Before you delete all paths, we recommend using the command method RsOsp.Route.Path.catalog to query all currently defined path names.

delete_all_with_opc() None[source]
# SCPI: ROUTe:PATH:DELete:ALL
driver.route.path.delete_all_with_opc()

Deletes all previously defined paths from the switch unit’s internal volatile memory. Before you delete all paths, we recommend using the command method RsOsp.Route.Path.catalog to query all currently defined path names.

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

export(path_config_file: str) None[source]
# SCPI: ROUTe:PATH:EXPort
driver.route.path.export(path_config_file = '1')

Stores a nonvolatile file in the compact flash memory of an R&S OSP by transferring it from the instrument’s internal volatile memory. The stored file comprises all currently defined path configurations, see method RsOsp.Route.Path.Define. set. All path filenames have the extension ‘.path’. Do not enter the extension when specifying a filename. A filename query does not return the extension. For example, when you save the path file ‘gen-pa_1’, it is saved as ‘gen-pa_1.path’. A query returns this filename as ‘gen-pa_1’, only. The command MMEM:STORe:STATe is equivalent with method RsOsp.Route. Path.export.

param path_config_file

String parameter to specify the name of the file to be stored.

get_catalog() List[str][source]
# SCPI: ROUTe:PATH:CATalog
value: List[str] = driver.route.path.get_catalog()

Returns a list of all currently defined path names in the internal volatile memory of the switch unit. The query addresses the default directory path ‘/home/instrument/ospdata’ in the internal storage of the R&S OSP, unless you specify a different directory path, which is optional.

return

list_of_path_names: Comma-separated list of path names, each in quotation marks.

get_last() str[source]
# SCPI: ROUTe:PATH:LAST
value: str = driver.route.path.get_last()

Queries the name of the previously switched path. If the previous switching action was based on method RsOsp.Route.Close. set + channel list string (rather than a path name) , the response is <Individual Settings>. After a *RST command, the response is <Reset State>. In the main page of the switch unit’s user interface, the line Last Switched Path (enabled by the ‘Path Info’ setting or by method RsOsp.Configure.MainInfo.path) shows the same information as the response to method RsOsp.Route.Path.last.

return

path_name: See method RsOsp.Route.Path.Define.set

Subgroups