Flight
SCPI Commands :
[SOURce<HW>]:[BB]:DME:FLIGht:RSTatus
[SOURce<HW>]:[BB]:DME:FLIGht:STARt
[SOURce<HW>]:[BB]:DME:FLIGht:STATe
[SOURce<HW>]:[BB]:DME:FLIGht:STOP
- Commands in total: 10Subgroups: 4Direct child commands: 4
- get_rstatus() AvionicDmeFlightStatus[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:RSTatus value: enums.AvionicDmeFlightStatus = driver.source.bb.dme.flight.get_rstatus()
Queries the status of the flight simulation.
- Returns:
running_status: OFF | IDLE | RUNNing | PAUSed
- get_state() bool[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:STATe value: bool = driver.source.bb.dme.flight.get_state()
Activates flight simulation.
- Returns:
sim_state: 1 | ON | 0| OFF
- set_state(sim_state: bool) None[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:STATe driver.source.bb.dme.flight.set_state(sim_state = False)
Activates flight simulation.
- Parameters:
sim_state – 1 | ON | 0| OFF
- start() None[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:STARt driver.source.bb.dme.flight.start()
Starts the flight simulation with a given start distance.
- start_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:STARt driver.source.bb.dme.flight.start_with_opc()
Starts the flight simulation with a given start distance.
Same as start, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- stop() None[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:STOP driver.source.bb.dme.flight.stop()
Stops the flight simulation and sets the distance position to start distance.
- stop_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:[BB]:DME:FLIGht:STOP driver.source.bb.dme.flight.stop_with_opc()
Stops the flight simulation and sets the distance position to start distance.
Same as stop, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
Cloning the Group
# Create a copy of the original group, that exists independently
flight_copy = driver.source.bb.dme.flight.clone()
Subgroups