from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class NconCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("ncon", core, parent)
[docs]
def get_start(self) -> float:
"""
``POWer:SWITching:GATE:NCON:STARt`` \n
Snippet: ``value: float = driver.power.switching.gate.ncon.get_start()`` \n
Sets the value for the respective cursor.
"""
response = self._core.io.query_str('POWer:SWITching:GATE:NCON:STARt?')
return Conversions.str_to_float(response)
[docs]
def set_start(self, t_3: float) -> None:
"""
``POWer:SWITching:GATE:NCON:STARt`` \n
Snippet: ``driver.power.switching.gate.ncon.set_start(t_3 = 1.0)`` \n
Sets the value for the respective cursor.
"""
param = Conversions.decimal_value_to_str(t_3)
self._core.io.write(f'POWer:SWITching:GATE:NCON:STARt {param}')
[docs]
def get_stop(self) -> float:
"""
``POWer:SWITching:GATE:NCON:STOP`` \n
Snippet: ``value: float = driver.power.switching.gate.ncon.get_stop()`` \n
No help available
"""
response = self._core.io.query_str('POWer:SWITching:GATE:NCON:STOP?')
return Conversions.str_to_float(response)
[docs]
def set_stop(self, t_4: float) -> None:
"""
``POWer:SWITching:GATE:NCON:STOP`` \n
Snippet: ``driver.power.switching.gate.ncon.set_stop(t_4 = 1.0)`` \n
No help available
"""
param = Conversions.decimal_value_to_str(t_4)
self._core.io.write(f'POWer:SWITching:GATE:NCON:STOP {param}')