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: 2377Subgroups: 27Direct 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
- 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 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:GNSS:STATe.preset_with_opc()does the same aspreset(), but waits for the operation to complete before continuing further. Use theRsSmbv.utilities.opc_timeoutto 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 valuesThe SOURcehw:BB:GNSS:…:UNSCaled commands apply.
1: Used are scaled valuesCommands 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 ( ) SimMode
- set_tmode ( smode: SimMode ) None
# [SOURce<HW>]:BB:GNSS:TMODe # get: value: enums.SimMode = driver.source.bb.gnss.get_tmode() # set: driver.source.bb.gnss.set_tmode(smode = enums.SimMode.NAVigation)
Sets the test mode.
- Parameters:
smode – TRACking | NAVigation | SINGle
TRACking: Tracking modeThe 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.
NAVigation: Navigation modeThe 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.
SINGle: Single-satellite modeThe generated GNSS signal contains one satellite signal for each GNSS system GPS, Galileo, GLONASS, COMPASS/BeiDou and NavIC. Use this mode for production tests.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.
Cloning the Group
# Create a copy of the original group, that exists independently
gnss_copy = driver.source.bb.gnss.clone()
Subgroups