from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
from .... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class BbMm1Cls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("bbMm1", core, parent)
# noinspection PyTypeChecker
[docs]
def get_channels(self) -> enums.SystConfHsChannels:
"""
``SCONfiguration:DIQ:BBMM1:CHANnels`` \n
Snippet: ``value: enums.SystConfHsChannels = driver.sconfiguration.diq.bbMm1.get_channels()`` \n
No help available
"""
response = self._core.io.query_str('SCONfiguration:DIQ:BBMM1:CHANnels?')
return Conversions.str_to_scalar_enum(response, enums.SystConfHsChannels)
[docs]
def set_channels(self, dig_iq_hs_bbmm_1_cha: enums.SystConfHsChannels) -> None:
"""
``SCONfiguration:DIQ:BBMM1:CHANnels`` \n
Snippet: ``driver.sconfiguration.diq.bbMm1.set_channels(dig_iq_hs_bbmm_1_cha = enums.SystConfHsChannels.CH0)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(dig_iq_hs_bbmm_1_cha, enums.SystConfHsChannels)
self._core.io.write(f'SCONfiguration:DIQ:BBMM1:CHANnels {param}')