from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class GfdmCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("gfdm", core, parent)
[docs]
def get_db_symbols(self) -> int:
"""
``[SOURce<HW>]:BB:OFDM:GFDM:DBSYmbols`` \n
Snippet: ``value: int = driver.source.bb.ofdm.gfdm.get_db_symbols()`` \n
Sets data block size in terms of symbols per data block. The maximum size is the sequence length, see method
``RsSmw.source.bb.ofdm.seq_length()`` .
:return: gfdm_db_symbols: integer Range: 1 to depends on settings
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:OFDM:GFDM:DBSYmbols?')
return Conversions.str_to_int(response)