Gnss

SCPI Commands :

[SOURce<HW>]:BB:GNSS:CFRequency
[SOURce<HW>]:BB:GNSS:PRESet
[SOURce<HW>]:BB:GNSS:SCENario
[SOURce<HW>]:BB:GNSS:SSValues
[SOURce<HW>]:BB:GNSS:STATe
[SOURce<HW>]:BB:GNSS:TMODe
class GnssCls[source]

Gnss commands group definition. 2377 total commands, 27 Subgroups, 6 group commands

get_cfrequency() int[source]
# SCPI: [SOURce<HW>]:BB:GNSS:CFRequency
value: int = driver.source.bb.gnss.get_cfrequency()

Queries the central RF frequency. The response is a mean value depending on enabled RF bands and GNSS systems.

return

central_rf_freq: integer Range: 1E9 to 2E9, Unit: Hz

get_scenario() str[source]
# SCPI: [SOURce<HW>]:BB:GNSS:SCENario
value: str = driver.source.bb.gnss.get_scenario()

Queries the current scenario.

return

scenario: string NONE Indicates the preset configuration or a user-defined configuration. Scenario name Returns the scenario name of a predefined scenario, e.g. ‘3GPP TS 37.571-2: S7 Signaling ST1’. See ‘Predefined GNSS scenarios’. Filename Returns the filename of a saved, user-defined scenario. The scenario file has the extension *.gnss.

get_ss_values() bool[source]
# SCPI: [SOURce<HW>]:BB:GNSS:SSValues
value: bool = driver.source.bb.gnss.get_ss_values()

Defines if the navigation message parameters are set as scaled or unscaled values and thus which subset of remote-control commands is used.

return

show_scaled_value: 1| ON| 0| OFF 0 Used are unscaled values The SOURcehw:BB:GNSS:…:UNSCaled commands apply. 1 Used are scaled values Commands without the mnemonic UNSCaled apply.

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

Enables/disables the GNSS signal simulation.

return

state: 1| ON| 0| OFF

get_tmode() RsSmbv.enums.SimMode[source]
# SCPI: [SOURce<HW>]:BB:GNSS:TMODe
value: enums.SimMode = driver.source.bb.gnss.get_tmode()

Sets the test mode.

return

smode: TRACking| NAVigation| SINGle

preset() None[source]
# SCPI: [SOURce<HW>]:BB:GNSS:PRESet
driver.source.bb.gnss.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:GNSS:STATe.

preset_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: [SOURce<HW>]:BB:GNSS:PRESet
driver.source.bb.gnss.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:GNSS: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_ss_values(show_scaled_value: bool) None[source]
# SCPI: [SOURce<HW>]:BB:GNSS:SSValues
driver.source.bb.gnss.set_ss_values(show_scaled_value = False)

Defines if the navigation message parameters are set as scaled or unscaled values and thus which subset of remote-control commands is used.

param show_scaled_value

1| ON| 0| OFF 0 Used are unscaled values The SOURcehw:BB:GNSS:…:UNSCaled commands apply. 1 Used are scaled values Commands without the mnemonic UNSCaled apply.

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

Enables/disables the GNSS signal simulation.

param state

1| ON| 0| OFF

set_tmode(smode: RsSmbv.enums.SimMode) None[source]
# SCPI: [SOURce<HW>]:BB:GNSS:TMODe
driver.source.bb.gnss.set_tmode(smode = enums.SimMode.AMSJammer)

Sets the test mode.

param smode

TRACking| NAVigation| SINGle

Cloning the Group

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

Subgroups