Source code for RsFsw.Implementations.Configure.Generator.Relay.Write

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class WriteCls: """Write commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("write", core, parent)
[docs] def set(self, command: str) -> None: """SCPI: CONFigure:GENerator:RELay:WRITe \n Snippet: driver.configure.generator.relay.write.set(command = 'abc') \n No command help available \n :param command: No help available """ param = Conversions.value_to_quoted_str(command) self._core.io.write_with_opc(f'CONFigure:GENerator:RELay:WRITe {param}')