Source code for RsSmbv.Implementations.Source.Bb.Gnss.Receiver.V.Environment.Full.Rwindow.Strajectory

from ..........Internal.Core import Core
from ..........Internal.CommandsGroup import CommandsGroup
from .......... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class StrajectoryCls: """Strajectory commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("strajectory", core, parent)
[docs] def set(self, vehicle=repcap.Vehicle.Default) -> None: """SCPI: [SOURce<HW>]:BB:GNSS:RECeiver:[V<ST>]:ENVironment:FULL:RWINdow:STRajectory \n Snippet: driver.source.bb.gnss.receiver.v.environment.full.rwindow.strajectory.set(vehicle = repcap.Vehicle.Default) \n Sets the length of the repetition intervall equal to trajectory length of the waypoint file. Aligning both lengths is useful to ensure that the obscuration pattern repeats itself at each repetition of the waypoint file. \n :param vehicle: optional repeated capability selector. Default value: Nr1 (settable in the interface 'V') """ vehicle_cmd_val = self._cmd_group.get_repcap_cmd_value(vehicle, repcap.Vehicle) self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:RECeiver:V{vehicle_cmd_val}:ENVironment:FULL:RWINdow:STRajectory')
[docs] def set_with_opc(self, vehicle=repcap.Vehicle.Default, opc_timeout_ms: int = -1) -> None: vehicle_cmd_val = self._cmd_group.get_repcap_cmd_value(vehicle, repcap.Vehicle) """SCPI: [SOURce<HW>]:BB:GNSS:RECeiver:[V<ST>]:ENVironment:FULL:RWINdow:STRajectory \n Snippet: driver.source.bb.gnss.receiver.v.environment.full.rwindow.strajectory.set_with_opc(vehicle = repcap.Vehicle.Default) \n Sets the length of the repetition intervall equal to trajectory length of the waypoint file. Aligning both lengths is useful to ensure that the obscuration pattern repeats itself at each repetition of the waypoint file. \n Same as set, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value. \n :param vehicle: optional repeated capability selector. Default value: Nr1 (settable in the interface 'V') :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call.""" self._core.io.write_with_opc(f'SOURce<HwInstance>:BB:GNSS:RECeiver:V{vehicle_cmd_val}:ENVironment:FULL:RWINdow:STRajectory', opc_timeout_ms)