Source code for RsSmw.Implementations.Source.Bb.Gsm.H32Qam
from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class H32QamCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("h32Qam", core, parent)
# noinspection PyTypeChecker
[docs]
def get_format_py(self) -> enums.GsmModType32Qam:
"""
``[SOURce<HW>]:BB:GSM:H32Qam:FORMat`` \n
Snippet: ``value: enums.GsmModType32Qam = driver.source.bb.gsm.h32Qam.get_format_py()`` \n
The command queries the modulation type.
:return: format_py: QAM32EDge
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:GSM:H32Qam:FORMat?')
return Conversions.str_to_scalar_enum(response, enums.GsmModType32Qam)