Osetup

SCPI Commands :

SOURce<HW>:AREGenerator:OSETup:CONFig
[SOURce<HW>]:AREGenerator:OSETup:HOSTname
[SOURce<HW>]:AREGenerator:OSETup:IPADdress
[SOURce<HW>]:AREGenerator:OSETup:MODE
[SOURce<HW>]:AREGenerator:OSETup:PORT
[SOURce<HW>]:AREGenerator:OSETup:PROTocol
[SOURce<HW>]:AREGenerator:OSETup:REFerence
[SOURce<HW>]:AREGenerator:OSETup:SOURce
[SOURce<HW>]:AREGenerator:OSETup:TBASe
class OsetupCls[source]

Osetup commands group definition. 24 total commands, 5 Subgroups, 9 group commands

get_config() OsetupConfiguration[source]
# SCPI: SOURce<HW>:AREGenerator:OSETup:CONFig
value: enums.OsetupConfiguration = driver.source.areGenerator.osetup.get_config()

Sets the configuration mode of the IF output channel.

return:

mode_llm: - STD: The IF output channel works in standard mode. - NR: Requires R&S AREG8-K814.The IF output channel works in FMCW near range mode.This setting provides low latency at the IF output and allows you to simulate minimum distances between frontend and DUT of the length of the air gap.

get_hostname() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:HOSTname
value: str = driver.source.areGenerator.osetup.get_hostname()

Requires Data Source > HiL/ViL. Sets the hostname of the R&S AREG800A for the hardware in the loop (HiL) or vehicle in the loop (ViL) scenario controller.

return:

areg_osetup_ip_address: No help available

get_ip_address() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:IPADdress
value: str = driver.source.areGenerator.osetup.get_ip_address()

Requires Data Source > HiL/ViL. Sets the IP address of the R&S AREG800A for the hardware in the loop (HiL) or vehicle in the loop (ViL) scenario controller.

return:

areg_osetup_ip_address: No help available

get_mode() OsetupMode[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:MODE
value: enums.OsetupMode = driver.source.areGenerator.osetup.get_mode()

Define the operation setup mode.

return:

areg_oset_mode: - STATic: Simulates static radar objects. - DYNamic: Simulates dynamic radar objects.

get_port() int[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:PORT
value: int = driver.source.areGenerator.osetup.get_port()

Requires Data Source > HiL/ViL. Sets the host port of the instrument for the hardware in the loop (HiL) or vehicle in the loop (ViL) scenario controller.

return:

areg_oset_port: No help available

get_protocol() OsetupHilProtocol[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:PROTocol
value: enums.OsetupHilProtocol = driver.source.areGenerator.osetup.get_protocol()

Sets the protocol type for protocol data of hardware in the loop (HiL) or vehicle in the loop (ViL) scenarios.

return:

areg_oset_protocol: - ZMQ: Zero message queue (ZMQ) asynchronous messaging library.The expected payload is the SensorData defined in the open simulation interface (OSI) . - DCP: Distributed co-simulation protocol (DCP) .The expected payload is the SensorData defined in the open simulation interface (OSI) . - UDP: User datagram protocol (UDP) .The expected payload is the SensorData defined in the open simulation interface (OSI) . - UDPR: User datagram protocol (UDP) raw data.Raw is a Rohde & Schwarz proprietary format.

get_reference() OsetupObjRef[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:REFerence
value: enums.OsetupObjRef = driver.source.areGenerator.osetup.get_reference()

Sets the object reference.

return:

areg_osetup_ref: - ORIGin: Sets the object reference to the origin in the polar coordinates map. - MAPPed: Sets a mapped sensor as object reference.

get_source() OsetupDataSource[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:SOURce
value: enums.OsetupDataSource = driver.source.areGenerator.osetup.get_source()

Requires [:SOURce<hw>]:AREGenerator:OSETup:MODE DYNamic. Sets the data source for the dynamic operation.

return:

areg_oset_source: - SCENario: Sets for dynamic radar object simulation scenarios. - HIL: Sets the data source to hardware in the loop (HiL) or vehicle in the loop (ViL) scenarios.

get_tbase() AregSetupTimeBase[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:TBASe
value: enums.AregSetupTimeBase = driver.source.areGenerator.osetup.get_tbase()

Sets the time base of the logged data.

return:

setup_time_base: - SYSTem: The system time from the setup menu serves as time base. - SIMulation: The time stamp from the used scenario, e.g. from an OSI message, serves as time base.

set_config(mode_llm: OsetupConfiguration) None[source]
# SCPI: SOURce<HW>:AREGenerator:OSETup:CONFig
driver.source.areGenerator.osetup.set_config(mode_llm = enums.OsetupConfiguration.NR)

Sets the configuration mode of the IF output channel.

param mode_llm:
  • STD: The IF output channel works in standard mode.

  • NR: Requires R&S AREG8-K814.The IF output channel works in FMCW near range mode.This setting provides low latency at the IF output and allows you to simulate minimum distances between frontend and DUT of the length of the air gap.

set_hostname(areg_osetup_ip_address: str) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:HOSTname
driver.source.areGenerator.osetup.set_hostname(areg_osetup_ip_address = 'abc')

Requires Data Source > HiL/ViL. Sets the hostname of the R&S AREG800A for the hardware in the loop (HiL) or vehicle in the loop (ViL) scenario controller.

param areg_osetup_ip_address:

No help available

set_ip_address(areg_osetup_ip_address: str) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:IPADdress
driver.source.areGenerator.osetup.set_ip_address(areg_osetup_ip_address = 'abc')

Requires Data Source > HiL/ViL. Sets the IP address of the R&S AREG800A for the hardware in the loop (HiL) or vehicle in the loop (ViL) scenario controller.

param areg_osetup_ip_address:

No help available

set_mode(areg_oset_mode: OsetupMode) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:MODE
driver.source.areGenerator.osetup.set_mode(areg_oset_mode = enums.OsetupMode.DYNamic)

Define the operation setup mode.

param areg_oset_mode:
  • STATic: Simulates static radar objects.

  • DYNamic: Simulates dynamic radar objects.

set_port(areg_oset_port: int) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:PORT
driver.source.areGenerator.osetup.set_port(areg_oset_port = 1)

Requires Data Source > HiL/ViL. Sets the host port of the instrument for the hardware in the loop (HiL) or vehicle in the loop (ViL) scenario controller.

param areg_oset_port:

No help available

set_protocol(areg_oset_protocol: OsetupHilProtocol) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:PROTocol
driver.source.areGenerator.osetup.set_protocol(areg_oset_protocol = enums.OsetupHilProtocol.DCP)

Sets the protocol type for protocol data of hardware in the loop (HiL) or vehicle in the loop (ViL) scenarios.

param areg_oset_protocol:
  • ZMQ: Zero message queue (ZMQ) asynchronous messaging library.The expected payload is the SensorData defined in the open simulation interface (OSI) .

  • DCP: Distributed co-simulation protocol (DCP) .The expected payload is the SensorData defined in the open simulation interface (OSI) .

  • UDP: User datagram protocol (UDP) .The expected payload is the SensorData defined in the open simulation interface (OSI) .

  • UDPR: User datagram protocol (UDP) raw data.Raw is a Rohde & Schwarz proprietary format.

set_reference(areg_osetup_ref: OsetupObjRef) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:REFerence
driver.source.areGenerator.osetup.set_reference(areg_osetup_ref = enums.OsetupObjRef.MAPPed)

Sets the object reference.

param areg_osetup_ref:
  • ORIGin: Sets the object reference to the origin in the polar coordinates map.

  • MAPPed: Sets a mapped sensor as object reference.

set_source(areg_oset_source: OsetupDataSource) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:SOURce
driver.source.areGenerator.osetup.set_source(areg_oset_source = enums.OsetupDataSource.HIL)

Requires [:SOURce<hw>]:AREGenerator:OSETup:MODE DYNamic. Sets the data source for the dynamic operation.

param areg_oset_source:
  • SCENario: Sets for dynamic radar object simulation scenarios.

  • HIL: Sets the data source to hardware in the loop (HiL) or vehicle in the loop (ViL) scenarios.

set_tbase(setup_time_base: AregSetupTimeBase) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:OSETup:TBASe
driver.source.areGenerator.osetup.set_tbase(setup_time_base = enums.AregSetupTimeBase.SIMulation)

Sets the time base of the logged data.

param setup_time_base:
  • SYSTem: The system time from the setup menu serves as time base.

  • SIMulation: The time stamp from the used scenario, e.g. from an OSI message, serves as time base.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.areGenerator.osetup.clone()

Subgroups