from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ObasebandCls:
"""
| Commands in total: 4
| Subgroups: 0
| Direct child commands: 4
"""
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:OFDM:TRIGger:OBASeband:DELay`` \n
Snippet: ``value: float = driver.source.bb.ofdm.trigger.obaseband.get_delay()`` \n
Specifies the trigger delay for triggering by the signal from the second path.
:return: trig_int_oth_delay: float Range: 0 to 2147483647
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:OFDM:TRIGger:OBASeband:DELay?')
return Conversions.str_to_float(response)
[docs]
def get_inhibit(self) -> int:
"""
``[SOURce<HW>]:BB:OFDM:TRIGger:OBASeband:INHibit`` \n
Snippet: ``value: int = driver.source.bb.ofdm.trigger.obaseband.get_inhibit()`` \n
For triggering via the other path, specifies the number of samples by which a restart is inhibited.
:return: int_oth_inhibit: integer Range: 0 to 67108863, Unit: Sample
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:OFDM:TRIGger:OBASeband:INHibit?')
return Conversions.str_to_int(response)
[docs]
def get_rdelay(self) -> float:
"""
``[SOURce<HW>]:BB:OFDM:TRIGger:OBASeband:RDELay`` \n
Snippet: ``value: float = driver.source.bb.ofdm.trigger.obaseband.get_rdelay()`` \n
Queries the time a trigger event form the other path is delayed.
:return: int_oth_rdelay_sec: float Range: 0 to 688
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:OFDM:TRIGger:OBASeband:RDELay?')
return Conversions.str_to_float(response)
[docs]
def get_tdelay(self) -> float:
"""
``[SOURce<HW>]:BB:OFDM:TRIGger:OBASeband:TDELay`` \n
Snippet: ``value: float = driver.source.bb.ofdm.trigger.obaseband.get_tdelay()`` \n
Specifies the trigger delay for triggering by the signal from the other path.
:return: int_oth_delay_sec: float Range: 0 to 688, Unit: s
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:OFDM:TRIGger:OBASeband:TDELay?')
return Conversions.str_to_float(response)