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<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
- start ( ) None
- start_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce<HW>]:[BB]:DME:FLIGht:STARt driver.source.bb.dme.flight.start() driver.source.bb.dme.flight.start_with_opc(opc_timeout_ms = 3000)Starts the flight simulation with a given start distance.
start_with_opc()does the same asstart(), but waits for the operation to complete before continuing further. Use theRsSmbv.utilities.opc_timeoutto set the timeout value.- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- get_state ( ) bool
- set_state ( sim_state: bool ) None
# [SOURce<HW>]:[BB]:DME:FLIGht:STATe # get: value: bool = driver.source.bb.dme.flight.get_state() # set: driver.source.bb.dme.flight.set_state(sim_state = False)
Activates flight simulation.
- Parameters:
sim_state – 1 | ON | 0| OFF
- stop ( ) None
- stop_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce<HW>]:[BB]:DME:FLIGht:STOP driver.source.bb.dme.flight.stop() driver.source.bb.dme.flight.stop_with_opc(opc_timeout_ms = 3000)Stops the flight simulation and sets the distance position to start distance.
stop_with_opc()does the same asstop(), but waits for the operation to complete before continuing further. Use theRsSmbv.utilities.opc_timeoutto 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