Source code for RsSmbv.Implementations.Source.Bb.W3Gpp.Mstation.Additional.Tdelay

from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TdelayCls: """Tdelay commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("tdelay", core, parent)
[docs] def get_step(self) -> int: """SCPI: [SOURce<HW>]:BB:W3GPp:MSTation:ADDitional:TDELay:STEP \n Snippet: value: int = driver.source.bb.w3Gpp.mstation.additional.tdelay.get_step() \n Sets the step width for the time delay of the additional user equipment to one another. The start value is the time delay of UE4. \n :return: step: integer Range: 0 to 38400 (1 frame) , Unit: chip """ response = self._core.io.query_str('SOURce<HwInstance>:BB:W3GPp:MSTation:ADDitional:TDELay:STEP?') return Conversions.str_to_int(response)
[docs] def set_step(self, step: int) -> None: """SCPI: [SOURce<HW>]:BB:W3GPp:MSTation:ADDitional:TDELay:STEP \n Snippet: driver.source.bb.w3Gpp.mstation.additional.tdelay.set_step(step = 1) \n Sets the step width for the time delay of the additional user equipment to one another. The start value is the time delay of UE4. \n :param step: integer Range: 0 to 38400 (1 frame) , Unit: chip """ param = Conversions.decimal_value_to_str(step) self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:MSTation:ADDitional:TDELay:STEP {param}')