from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PinCls:
"""Pin commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("pin", core, parent)
[docs] def get_max(self) -> float:
"""SCPI: [SOURce<HW>]:IQ:DOHerty:PIN:MAX \n
Snippet: value: float = driver.source.iq.doherty.pin.get_max() \n
No command help available \n
:return: pep_in_max: No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:PIN:MAX?')
return Conversions.str_to_float(response)
[docs] def set_max(self, pep_in_max: float) -> None:
"""SCPI: [SOURce<HW>]:IQ:DOHerty:PIN:MAX \n
Snippet: driver.source.iq.doherty.pin.set_max(pep_in_max = 1.0) \n
No command help available \n
:param pep_in_max: No help available
"""
param = Conversions.decimal_value_to_str(pep_in_max)
self._core.io.write(f'SOURce<HwInstance>:IQ:DOHerty:PIN:MAX {param}')
[docs] def get_min(self) -> float:
"""SCPI: [SOURce<HW>]:IQ:DOHerty:PIN:MIN \n
Snippet: value: float = driver.source.iq.doherty.pin.get_min() \n
No command help available \n
:return: pep_in_min: No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:PIN:MIN?')
return Conversions.str_to_float(response)
[docs] def set_min(self, pep_in_min: float) -> None:
"""SCPI: [SOURce<HW>]:IQ:DOHerty:PIN:MIN \n
Snippet: driver.source.iq.doherty.pin.set_min(pep_in_min = 1.0) \n
No command help available \n
:param pep_in_min: No help available
"""
param = Conversions.decimal_value_to_str(pep_in_min)
self._core.io.write(f'SOURce<HwInstance>:IQ:DOHerty:PIN:MIN {param}')