from typing import List
from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class FileCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("file", core, parent)
[docs]
def get_data(self) -> List[float]:
"""
``[SOURce<HW>]:IQ:DOHerty:LRF:FILE:DATA`` \n
Snippet: ``value: List[float] = driver.source.iq.doherty.lrf.file.get_data()`` \n
No help available
"""
response = self._core.io.query_bin_or_ascii_float_list('SOURce<HwInstance>:IQ:DOHerty:LRF:FILE:DATA?')
return response
[docs]
def get_value(self) -> str:
"""
``[SOURce<HW>]:IQ:DOHerty:LRF:FILE`` \n
Snippet: ``value: str = driver.source.iq.doherty.lrf.file.get_value()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:LRF:FILE?')
return trim_str_response(response)