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]
# [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

get_scenario() str[source]
# [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[source]
# [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.

Returns:

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

Enables/disables the GNSS signal simulation.

Returns:

state: 1 | ON | 0| OFF

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

Sets the test mode.

Returns:

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.

preset() None[source]
# [SOURce<HW>]:BB:GNSS:PRESet
driver.source.bb.gnss.preset()

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

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

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.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_ss_values(show_scaled_value: bool) None[source]
# [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.

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.

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

Enables/disables the GNSS signal simulation.

Parameters:

state – 1 | ON | 0| OFF

set_tmode(smode: SimMode2) None[source]
# [SOURce<HW>]:BB:GNSS:TMODe
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