Compatible

SCPI Commands

CONFigure:COMPatible:MODE
class Compatible[source]

Compatible commands group definition. 1 total commands, 0 Sub-groups, 1 group commands

get_mode() bool[source]
# SCPI: CONFigure:COMPatible[:MODE]
value: bool = driver.configure.compatible.get_mode()

Enables or disables backward compatibility of some currently available RC commands with the syntax of previous firmware versions, used for the legacy switch units of the R&S OSP1xx family: R&S OSP120, R&S OSP130 and R&S OSP150. The query returns the state of the compatibility mode. Note that both the current and the deprecated RC commands always are interpreted correctly by the firmware, independent of your compatibility settings. However, a query like ‘method RsOsp. Route.Close.set’ returns channel setting strings in the format ‘F01M01’ with method RsOsp.Configure.Compatible.mode = OFF and in the format ‘F01A11’ with method RsOsp.Configure.Compatible.mode = ON.

INTRO_CMD_HELP: If the compatibility mode is enabled, the following commands are also available:

  • MMEM:LOAD:STATe (new: method RsOsp.Route.Path.ImportPy.value)

  • MMEM:STORe:STATe (new: method RsOsp.Route.Path.export)

  • ROUTe:MODule:CATalog?

Note that some commands behave differently with or without the compatibility mode enabled. For example, method RsOsp. Route.Path.Define.set as a setting accepts both syntax versions F01M01 or F01A11. But as a query, method RsOsp.Route.Path. Define.set, sent without the compatibility mode enabled, returns the current syntax. On the contrary, with compatibility mode enabled, it returns the legacy syntax, described in section method RsOsp.Route.Path.Define.set.

return

state: - 1 | ON: The set of RC commands is extended as listed above for backward compatibility with R&S OSP1xx legacy switch units. - 0 | OFF: The firmware only accepts the standard set of RC commands. No additional commands are available to provide backward compatibility.

set_mode(state: bool) None[source]
# SCPI: CONFigure:COMPatible[:MODE]
driver.configure.compatible.set_mode(state = False)

Enables or disables backward compatibility of some currently available RC commands with the syntax of previous firmware versions, used for the legacy switch units of the R&S OSP1xx family: R&S OSP120, R&S OSP130 and R&S OSP150. The query returns the state of the compatibility mode. Note that both the current and the deprecated RC commands always are interpreted correctly by the firmware, independent of your compatibility settings. However, a query like ‘method RsOsp. Route.Close.set’ returns channel setting strings in the format ‘F01M01’ with method RsOsp.Configure.Compatible.mode = OFF and in the format ‘F01A11’ with method RsOsp.Configure.Compatible.mode = ON.

INTRO_CMD_HELP: If the compatibility mode is enabled, the following commands are also available:

  • MMEM:LOAD:STATe (new: method RsOsp.Route.Path.ImportPy.value)

  • MMEM:STORe:STATe (new: method RsOsp.Route.Path.export)

  • ROUTe:MODule:CATalog?

Note that some commands behave differently with or without the compatibility mode enabled. For example, method RsOsp. Route.Path.Define.set as a setting accepts both syntax versions F01M01 or F01A11. But as a query, method RsOsp.Route.Path. Define.set, sent without the compatibility mode enabled, returns the current syntax. On the contrary, with compatibility mode enabled, it returns the legacy syntax, described in section method RsOsp.Route.Path.Define.set.

param state
  • 1 | ON: The set of RC commands is extended as listed above for backward compatibility with R&S OSP1xx legacy switch units.

  • 0 | OFF: The firmware only accepts the standard set of RC commands. No additional commands are available to provide backward compatibility.