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
- Commands in total: 91Subgroups: 14Direct child commands: 14
- get_csuffix() AvionicDmeChanSuff[source]
# [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.
- Returns:
csuffix: X | Y| ICAO
- get_fall() float[source]
# [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) .
- Returns:
fall: float Range: 0.5E-6 to 10E-6
- get_frequency() float[source]
# [SOURce<HW>]:[BB]:DME:FREQuency value: float = driver.source.bb.dme.get_frequency()
Sets the carrier frequency of the signal.
- Returns:
carrier_freq: float Range: 100E3 to 6E9
- get_mode() AvionicDmeMode[source]
# [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 withmethod
RsSmbv.source.bb.dme.csuffix().- Returns:
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 (method
RsSmbv.source.bb.dme.csuffix()) . The interval between the pulse pairs can be set to a fixed value (repetition rate, methodRsSmbv.source.bb.dme.rate()) or to random generation (pulse squitter, methodRsSmbv.source.bb.dme.squitter()) . The trigger signal is input via the Pulse Ext connector.
- get_pps() float[source]
# [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 method
RsSmbv.source.bb.dme.single()OFF- Returns:
pps: float Range: 1E-6 to 200E-6
- get_rate() int[source]
# [SOURce<HW>]:[BB]:DME:RATE value: int = driver.source.bb.dme.get_rate()
If method
RsSmbv.source.bb.dme.mode()is set to INTerrogation, sets the pulse repetition rate. If methodRsSmbv.source.bb.dme.mode()is set to REPLy, indicates the mean pulse repetition rate in squitter mode.- Returns:
rate: integer Range: 10 to 6000
- get_rise() float[source]
# [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) .
- Returns:
rise: float Range: 0.5E-6 to 10E-6
- get_shape() AvionicDmePulsShap[source]
# [SOURce<HW>]:[BB]:DME:SHAPe value: enums.AvionicDmePulsShap = driver.source.bb.dme.get_shape()
Sets the pulse shape.
- Returns:
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]
# [SOURce<HW>]:[BB]:DME:SINGle value: bool = driver.source.bb.dme.get_single()
Activates/deactivates generation of a single test pulse.
- Returns:
single: 1 | ON | 0| OFF
- get_squitter() bool[source]
# [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.
- Returns:
squitter: 1 | ON | 0| OFF
- get_state() bool[source]
# [SOURce<HW>]:BB:DME:STATe value: bool = driver.source.bb.dme.get_state()
Activates/deactivates the avionic standard.
- Returns:
state: 1 | ON | 0| OFF
- get_velocity() float[source]
# [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.
- Returns:
dme_velocity: float Range: -1E4 to 1E4
- get_width() float[source]
# [SOURce<HW>]:[BB]:DME:WIDTh value: float = driver.source.bb.dme.get_width()
Sets the pulse width (50% to 50% of peak voltage) .
- Returns:
width: float Range: 1E-6 to 100E-6
- preset() None[source]
# [SOURce<HW>]:BB:DME:PRESet driver.source.bb.dme.preset()
Sets the parameters of the digital standard to their default values (
*RSTvalues 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]
# [SOURce<HW>]:BB:DME:PRESet driver.source.bb.dme.preset_with_opc()
Sets the parameters of the digital standard to their default values (
*RSTvalues 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.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- set_csuffix(csuffix: AvionicDmeChanSuff) None[source]
# [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.
- Parameters:
csuffix – X | Y| ICAO
- set_fall(fall: float) None[source]
# [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) .
- Parameters:
fall – float Range: 0.5E-6 to 10E-6
- set_frequency(carrier_freq: float) None[source]
# [SOURce<HW>]:[BB]:DME:FREQuency driver.source.bb.dme.set_frequency(carrier_freq = 1.0)
Sets the carrier frequency of the signal.
- Parameters:
carrier_freq – float Range: 100E3 to 6E9
- set_mode(mode: AvionicDmeMode) None[source]
# [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 withmethod
RsSmbv.source.bb.dme.csuffix().- Parameters:
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 (method
RsSmbv.source.bb.dme.csuffix()) . The interval between the pulse pairs can be set to a fixed value (repetition rate, methodRsSmbv.source.bb.dme.rate()) or to random generation (pulse squitter, methodRsSmbv.source.bb.dme.squitter()) . The trigger signal is input via the Pulse Ext connector.
- set_pps(pps: float) None[source]
# [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 method
RsSmbv.source.bb.dme.single()OFF- Parameters:
pps – float Range: 1E-6 to 200E-6
- set_rate(rate: int) None[source]
# [SOURce<HW>]:[BB]:DME:RATE driver.source.bb.dme.set_rate(rate = 1)
If method
RsSmbv.source.bb.dme.mode()is set to INTerrogation, sets the pulse repetition rate. If methodRsSmbv.source.bb.dme.mode()is set to REPLy, indicates the mean pulse repetition rate in squitter mode.- Parameters:
rate – integer Range: 10 to 6000
- set_rise(rise: float) None[source]
# [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) .
- Parameters:
rise – float Range: 0.5E-6 to 10E-6
- set_shape(shape: AvionicDmePulsShap) None[source]
# [SOURce<HW>]:[BB]:DME:SHAPe driver.source.bb.dme.set_shape(shape = enums.AvionicDmePulsShap.COS)
Sets the pulse shape.
- Parameters:
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]
# [SOURce<HW>]:[BB]:DME:SINGle driver.source.bb.dme.set_single(single = False)
Activates/deactivates generation of a single test pulse.
- Parameters:
single – 1 | ON | 0| OFF
- set_squitter(squitter: bool) None[source]
# [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.
- Parameters:
squitter – 1 | ON | 0| OFF
- set_state(state: bool) None[source]
# [SOURce<HW>]:BB:DME:STATe driver.source.bb.dme.set_state(state = False)
Activates/deactivates the avionic standard.
- Parameters:
state – 1 | ON | 0| OFF
- set_velocity(dme_velocity: float) None[source]
# [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.
- Parameters:
dme_velocity – float Range: -1E4 to 1E4
- set_width(width: float) None[source]
# [SOURce<HW>]:[BB]:DME:WIDTh driver.source.bb.dme.set_width(width = 1.0)
Sets the pulse width (50% to 50% of peak voltage) .
- Parameters:
width – float Range: 1E-6 to 100E-6
Cloning the Group
# Create a copy of the original group, that exists independently
dme_copy = driver.source.bb.dme.clone()
Subgroups