from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ThroughputCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("throughput", core, parent)
[docs]
def get_delay(self) -> int:
"""
``[SOURce<HW>]:BB:DM:SMODulation:THRoughput:DELay`` \n
Snippet: ``value: int = driver.source.bb.dm.smodulation.throughput.get_delay()`` \n
Queries the throughput delay from the data input to the RF output in the case of external modulation.
:return: delay: integer Range: -100 to 100
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:DM:SMODulation:THRoughput:DELay?')
return Conversions.str_to_int(response)