from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class DpccCls:
"""
| Commands in total: 5
| Subgroups: 0
| Direct child commands: 5
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("dpcc", core, parent)
[docs]
def get_burst(self) -> int:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:BURSt`` \n
Snippet: ``value: int = driver.source.bb.w3Gpp.mstation.udtx.dpcc.get_burst()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:BURSt?')
return Conversions.str_to_int(response)
[docs]
def set_burst(self, burst: int) -> None:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:BURSt`` \n
Snippet: ``driver.source.bb.w3Gpp.mstation.udtx.dpcc.set_burst(burst = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(burst)
self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:BURSt {param}')
[docs]
def get_cycle(self) -> int:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:CYCLe`` \n
Snippet: ``value: int = driver.source.bb.w3Gpp.mstation.udtx.dpcc.get_cycle()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:CYCLe?')
return Conversions.str_to_int(response)
[docs]
def set_cycle(self, cycle: int) -> None:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:CYCLe`` \n
Snippet: ``driver.source.bb.w3Gpp.mstation.udtx.dpcc.set_cycle(cycle = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(cycle)
self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:CYCLe {param}')
[docs]
def get_offset(self) -> int:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:OFFSet`` \n
Snippet: ``value: int = driver.source.bb.w3Gpp.mstation.udtx.dpcc.get_offset()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:OFFSet?')
return Conversions.str_to_int(response)
[docs]
def set_offset(self, offset: int) -> None:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:OFFSet`` \n
Snippet: ``driver.source.bb.w3Gpp.mstation.udtx.dpcc.set_offset(offset = 1)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(offset)
self._core.io.write(f'SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:OFFSet {param}')
[docs]
def get_postamble(self) -> int:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:POSTamble`` \n
Snippet: ``value: int = driver.source.bb.w3Gpp.mstation.udtx.dpcc.get_postamble()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:POSTamble?')
return Conversions.str_to_int(response)
[docs]
def get_preamble(self) -> int:
"""
``[SOURce<HW>]:BB:W3GPp:MSTation:UDTX:DPCC:PREamble`` \n
Snippet: ``value: int = driver.source.bb.w3Gpp.mstation.udtx.dpcc.get_preamble()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:W3GPp:MSTation:UDTX:DPCC:PREamble?')
return Conversions.str_to_int(response)