Dme

SCPI Commands :

[SOURce<HW>]:BB:DME:PRESet
[SOURce<HW>]:BB:DME:STATe
[SOURce<HW>]:[BB]:DME:CSUFfix
[SOURce<HW>]:[BB]:DME:FALL
[SOURce<HW>]:[BB]:DME:FREQuency
[SOURce<HW>]:[BB]:DME:MODE
[SOURce<HW>]:[BB]:DME:PPS
[SOURce<HW>]:[BB]:DME:RATE
[SOURce<HW>]:[BB]:DME:RISE
[SOURce<HW>]:[BB]:DME:SHAPe
[SOURce<HW>]:[BB]:DME:SINGle
[SOURce<HW>]:[BB]:DME:SQUitter
[SOURce<HW>]:[BB]:DME:VELocity
[SOURce<HW>]:[BB]:DME:WIDTh
class DmeCls[source]

Dme commands group definition. 91 total commands, 14 Subgroups, 14 group commands

get_csuffix() RsSmbv.enums.AvionicDmeChanSuff[source]
# SCPI: [SOURce<HW>]:[BB]:DME:CSUFfix
value: enums.AvionicDmeChanSuff = driver.source.bb.dme.get_csuffix()

Sets the channel that is simulated. Standard compliant X and Y channels differ in the spacing between the two pulses of the pulse pair and the delay of the ground station.

return

csuffix: X| Y| ICAO

get_fall() float[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FALL
value: float = driver.source.bb.dme.get_fall()

Sets the fall time of the pulse (90% to 10% of peak voltage) .

return

fall: float Range: 0.5E-6 to 10E-6

get_frequency() float[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FREQuency
value: float = driver.source.bb.dme.get_frequency()

Sets the carrier frequency of the signal.

return

carrier_freq: float Range: 100E3 to 6E9

get_mode() RsSmbv.enums.AvionicDmeMode[source]
# SCPI: [SOURce<HW>]:[BB]:DME:MODE
value: enums.AvionicDmeMode = driver.source.bb.dme.get_mode()

Selects the mode of the DME modulation. The mode determines the signal type that is simulated. The exact timing of the signal for each mode is determined by the channel selected with[:SOURce<hw>][:BB]:DME:CSUFfix.

return

mode: INTerrogation| REPLy INTerrogation The interrogation signal of the airborne transmitter is simulated. REPLy The reply signal of the ground based transponder is simulated. The trigger is automatically set to external and the default trigger delay either to 50 us (channel X) or 56 us (channel Y) depending on the selected channel ([:SOURcehw][:BB]:DME:CSUFfix) . The interval between the pulse pairs can be set to a fixed value (repetition rate, [:SOURcehw][:BB]:DME:RATE) or to random generation (pulse squitter, [:SOURcehw][:BB]:DME:SQUitter) . The trigger signal is input via the Pulse Ext connector.

get_pps() float[source]
# SCPI: [SOURce<HW>]:[BB]:DME:PPS
value: float = driver.source.bb.dme.get_pps()

Sets the spacing between the first and second pulse of a pulse pair (time between halfvoltage points on the leading edge of each pulse) . Available only for [:SOURce<hw>][:BB]:DME:SINGleOFF

return

pps: float Range: 1E-6 to 200E-6

get_rate() int[source]
# SCPI: [SOURce<HW>]:[BB]:DME:RATE
value: int = driver.source.bb.dme.get_rate()

If [:SOURce<hw>][:BB]:DME:MODE is set to INTerrogation, sets the pulse repetition rate. If [:SOURce<hw>][:BB]:DME:MODE is set to REPLy, indicates the mean pulse repetition rate in squitter mode.

return

rate: integer Range: 10 to 6000

get_rise() float[source]
# SCPI: [SOURce<HW>]:[BB]:DME:RISE
value: float = driver.source.bb.dme.get_rise()

Sets the rise time of the pulse (10% to 90% of peak voltage) .

return

rise: float Range: 0.5E-6 to 10E-6

get_shape() RsSmbv.enums.AvionicDmePulsShap[source]
# SCPI: [SOURce<HW>]:[BB]:DME:SHAPe
value: enums.AvionicDmePulsShap = driver.source.bb.dme.get_shape()

Sets the pulse shape.

return

shape: COS2| LIN| COS| GAUSs COS2| The rising edge is cos shaped and the falling edge is cos^2 shaped. LIN The falling and the rising edge of the pulse are shaped linear. COS The falling and the rising edge of the pulse are cos^2 shaped.

get_single() bool[source]
# SCPI: [SOURce<HW>]:[BB]:DME:SINGle
value: bool = driver.source.bb.dme.get_single()

Activates/deactivates generation of a single test pulse.

return

single: 1| ON| 0| OFF

get_squitter() bool[source]
# SCPI: [SOURce<HW>]:[BB]:DME:SQUitter
value: bool = driver.source.bb.dme.get_squitter()

Activates/deactivates the random pulse repetition rate. The average repetition rate is 2700 pp/s. The pulse spacing is distributed randomly in the range of 60 us to about 1500 us according to EUROCAE EN-54 6.2.12. The squitter pulses are constantly sent by the ground station in order to ensure proper operation and in order to ease synchronization of the aircraft interrogator to the ground station.

return

squitter: 1| ON| 0| OFF

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

Activates/deactivates the avionic standard.

return

state: 1| ON| 0| OFF

get_velocity() float[source]
# SCPI: [SOURce<HW>]:[BB]:DME:VELocity
value: float = driver.source.bb.dme.get_velocity()

Sets the delay between the DME echo pulse signal and the original DME pulse signal.

return

dme_velocity: float Range: -1E4 to 1E4

get_width() float[source]
# SCPI: [SOURce<HW>]:[BB]:DME:WIDTh
value: float = driver.source.bb.dme.get_width()

Sets the pulse width (50% to 50% of peak voltage) .

return

width: float Range: 1E-6 to 100E-6

preset() None[source]
# SCPI: [SOURce<HW>]:BB:DME:PRESet
driver.source.bb.dme.preset()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:VOR|ILS|DME:STATe.

preset_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: [SOURce<HW>]:BB:DME:PRESet
driver.source.bb.dme.preset_with_opc()

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:VOR|ILS|DME:STATe.

Same as preset, 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.

set_csuffix(csuffix: RsSmbv.enums.AvionicDmeChanSuff) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:CSUFfix
driver.source.bb.dme.set_csuffix(csuffix = enums.AvionicDmeChanSuff.ICAO)

Sets the channel that is simulated. Standard compliant X and Y channels differ in the spacing between the two pulses of the pulse pair and the delay of the ground station.

param csuffix

X| Y| ICAO

set_fall(fall: float) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FALL
driver.source.bb.dme.set_fall(fall = 1.0)

Sets the fall time of the pulse (90% to 10% of peak voltage) .

param fall

float Range: 0.5E-6 to 10E-6

set_frequency(carrier_freq: float) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:FREQuency
driver.source.bb.dme.set_frequency(carrier_freq = 1.0)

Sets the carrier frequency of the signal.

param carrier_freq

float Range: 100E3 to 6E9

set_mode(mode: RsSmbv.enums.AvionicDmeMode) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:MODE
driver.source.bb.dme.set_mode(mode = enums.AvionicDmeMode.INTerrogation)

Selects the mode of the DME modulation. The mode determines the signal type that is simulated. The exact timing of the signal for each mode is determined by the channel selected with[:SOURce<hw>][:BB]:DME:CSUFfix.

param mode

INTerrogation| REPLy INTerrogation The interrogation signal of the airborne transmitter is simulated. REPLy The reply signal of the ground based transponder is simulated. The trigger is automatically set to external and the default trigger delay either to 50 us (channel X) or 56 us (channel Y) depending on the selected channel ([:SOURcehw][:BB]:DME:CSUFfix) . The interval between the pulse pairs can be set to a fixed value (repetition rate, [:SOURcehw][:BB]:DME:RATE) or to random generation (pulse squitter, [:SOURcehw][:BB]:DME:SQUitter) . The trigger signal is input via the Pulse Ext connector.

set_pps(pps: float) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:PPS
driver.source.bb.dme.set_pps(pps = 1.0)

Sets the spacing between the first and second pulse of a pulse pair (time between halfvoltage points on the leading edge of each pulse) . Available only for [:SOURce<hw>][:BB]:DME:SINGleOFF

param pps

float Range: 1E-6 to 200E-6

set_rate(rate: int) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:RATE
driver.source.bb.dme.set_rate(rate = 1)

If [:SOURce<hw>][:BB]:DME:MODE is set to INTerrogation, sets the pulse repetition rate. If [:SOURce<hw>][:BB]:DME:MODE is set to REPLy, indicates the mean pulse repetition rate in squitter mode.

param rate

integer Range: 10 to 6000

set_rise(rise: float) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:RISE
driver.source.bb.dme.set_rise(rise = 1.0)

Sets the rise time of the pulse (10% to 90% of peak voltage) .

param rise

float Range: 0.5E-6 to 10E-6

set_shape(shape: RsSmbv.enums.AvionicDmePulsShap) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:SHAPe
driver.source.bb.dme.set_shape(shape = enums.AvionicDmePulsShap.COS)

Sets the pulse shape.

param shape

COS2| LIN| COS| GAUSs COS2| The rising edge is cos shaped and the falling edge is cos^2 shaped. LIN The falling and the rising edge of the pulse are shaped linear. COS The falling and the rising edge of the pulse are cos^2 shaped.

set_single(single: bool) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:SINGle
driver.source.bb.dme.set_single(single = False)

Activates/deactivates generation of a single test pulse.

param single

1| ON| 0| OFF

set_squitter(squitter: bool) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:SQUitter
driver.source.bb.dme.set_squitter(squitter = False)

Activates/deactivates the random pulse repetition rate. The average repetition rate is 2700 pp/s. The pulse spacing is distributed randomly in the range of 60 us to about 1500 us according to EUROCAE EN-54 6.2.12. The squitter pulses are constantly sent by the ground station in order to ensure proper operation and in order to ease synchronization of the aircraft interrogator to the ground station.

param squitter

1| ON| 0| OFF

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

Activates/deactivates the avionic standard.

param state

1| ON| 0| OFF

set_velocity(dme_velocity: float) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:VELocity
driver.source.bb.dme.set_velocity(dme_velocity = 1.0)

Sets the delay between the DME echo pulse signal and the original DME pulse signal.

param dme_velocity

float Range: -1E4 to 1E4

set_width(width: float) None[source]
# SCPI: [SOURce<HW>]:[BB]:DME:WIDTh
driver.source.bb.dme.set_width(width = 1.0)

Sets the pulse width (50% to 50% of peak voltage) .

param width

float Range: 1E-6 to 100E-6

Cloning the Group

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

Subgroups