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: 2377
Subgroups: 27
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() SimMode[source]
# [SOURce<HW>]:BB:GNSS:TMODe
value: enums.SimMode = driver.source.bb.gnss.get_tmode()

Sets the test mode.

Returns:

smode: TRACking | NAVigation | SINGle

preset() None[source]
# [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]
# [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.

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: SimMode) None[source]
# [SOURce<HW>]:BB:GNSS:TMODe
driver.source.bb.gnss.set_tmode(smode = enums.SimMode.NAVigation)

Sets the test mode.

Parameters:

smode – TRACking | NAVigation | SINGle

Cloning the Group

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

Subgroups