from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ObasebandCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("obaseband", core, parent)
[docs]
def get_delay(self) -> float:
"""
``[SOURce<HW>]:BB:KUIPer:TRIGger:OBASeband:DELay`` \n
Snippet: ``value: float = driver.source.bb.kuiper.trigger.obaseband.get_delay()`` \n
Sets the trigger delay in samples for triggering by the trigger signal from the second path.
:return: delay: float Range: 0 to 2147483647
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:KUIPer:TRIGger:OBASeband:DELay?')
return Conversions.str_to_float(response)
[docs]
def get_inhibit(self) -> int:
"""
``[SOURce<HW>]:BB:KUIPer:TRIGger:OBASeband:INHibit`` \n
Snippet: ``value: int = driver.source.bb.kuiper.trigger.obaseband.get_inhibit()`` \n
For triggering via the other path, specifies the duration by which a restart is inhibited.
:return: inhibit: integer Range: 0 to 67108863
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:KUIPer:TRIGger:OBASeband:INHibit?')
return Conversions.str_to_int(response)