from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Edc:
"""Edc commands group definition. 2 total commands, 0 Sub-groups, 2 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._base = CommandsGroup("edc", core, parent)
[docs] def get_output(self) -> float:
"""SCPI: CONFigure:GSM:SIGNaling<Instance>:RFSettings:EDC:OUTPut \n
Snippet: value: float = driver.configure.rfSettings.edc.get_output() \n
Define the value of an external time delay in the output path and in the input path, so that it can be compensated. \n
:return: time: Range: 0 s to 20E-6 s, Unit: s
"""
response = self._core.io.query_str('CONFigure:GSM:SIGNaling<Instance>:RFSettings:EDC:OUTPut?')
return Conversions.str_to_float(response)
[docs] def set_output(self, time: float) -> None:
"""SCPI: CONFigure:GSM:SIGNaling<Instance>:RFSettings:EDC:OUTPut \n
Snippet: driver.configure.rfSettings.edc.set_output(time = 1.0) \n
Define the value of an external time delay in the output path and in the input path, so that it can be compensated. \n
:param time: Range: 0 s to 20E-6 s, Unit: s
"""
param = Conversions.decimal_value_to_str(time)
self._core.io.write(f'CONFigure:GSM:SIGNaling<Instance>:RFSettings:EDC:OUTPut {param}')