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
Commands in total: 2498
Subgroups: 29
Direct child commands: 6
get_cfrequency ( ) → int
# [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.

Returns:

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

preset ( ) → None
preset_with_opc ( opc_timeout_ms: int = -1 ) → None
# [SOURce<HW>]:BB:GNSS:PRESet
driver.source.bb.gnss.preset()
driver.source.bb.gnss.preset_with_opc(opc_timeout_ms = 3000)

Sets all parameters of the application to their default values. These values are the *RST values of the commands of the application.

preset_with_opc() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

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

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

Queries the current scenario.

Returns:

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
set_ss_values ( show_scaled_value: bool ) → None
# [SOURce<HW>]:BB:GNSS:SSValues
# get:
value: bool = driver.source.bb.gnss.get_ss_values()
# set:
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.

Parameters:

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
set_state ( state: bool ) → None
# [SOURce<HW>]:BB:GNSS:STATe
# get:
value: bool = driver.source.bb.gnss.get_state()
# set:
driver.source.bb.gnss.set_state(state = False)

Enables/disables the GNSS signal simulation.

Parameters:

state – 1 | ON | 0| OFF

get_tmode ( ) → SimMode2
set_tmode ( smode: SimMode2 ) → None
# [SOURce<HW>]:BB:GNSS:TMODe
# get:
value: enums.SimMode2 = driver.source.bb.gnss.get_tmode()
# set:
driver.source.bb.gnss.set_tmode(smode = enums.SimMode2.AMSI)

Sets the test mode.

Parameters:

smode – NAVigation | TRACking | MSI | AMSI NAVigation Navigation mode The generated signal contains satellite signals to simulate a particular location of a GNSS receiver. This signal implies a realistic navigation scenario. The DUT can achieve position fix, since the satellite constellation comprises of at least three satellites. The signal is suitable for signal acquisition and TTFF tests. TRACking Tracking mode The generated signal contains no positioning data. You do not need to configure the GNSS receiver. Navigation and acquiring of position fix is not possible. The signal is sufficient to test the ability of the DUT to find the channel and to decode the signal. It is also sufficient for receiver sensitivity testing. Use this mode to simulate high signal dynamics. For example, simulate spinning vehicles and precision code (P code) signals. MSI Matched-spectrum interferer mode The generated signal is a tracking mode signal that contains continuous wave (CW) interference signals for all space vehicles of a given satellite constellation. These signals have no navigation message data. AMSI Advanced matched-spectrum interferer mode The generated signal is a navigation mode signal that contains continuous wave (CW) interference signals for all space vehicles of a given satellite constellation. These signals have no navigation message data.

Cloning the Group

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

Subgroups