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
class FlightCls[source]

Flight commands group definition. 10 total commands, 4 Subgroups, 4 group commands

get_rstatus() RsSmbv.enums.AvionicDmeFlightStatus[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FLIGht:RSTatus
value: enums.AvionicDmeFlightStatus = driver.source.bb.dme.flight.get_rstatus()

Queries the status of the flight simulation.

return

running_status: OFF| IDLE| RUNNing| PAUSed

get_state() bool[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FLIGht:STATe
value: bool = driver.source.bb.dme.flight.get_state()

Activates flight simulation.

return

sim_state: 1| ON| 0| OFF

set_state(sim_state: bool) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FLIGht:STATe
driver.source.bb.dme.flight.set_state(sim_state = False)

Activates flight simulation.

param sim_state

1| ON| 0| OFF

start() None[source]
# SCPI: [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]
# SCPI: [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.

param opc_timeout_ms

Maximum time to wait in milliseconds, valid only for this call.

stop() None[source]
# SCPI: [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]
# SCPI: [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.

param opc_timeout_ms

Maximum time to wait in milliseconds, valid only for this call.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.dme.flight.clone()

Subgroups