Source code for RsCma.Implementations.GprfMeasurement.IqRecorder.Bin

from typing import List

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class BinCls: """Bin commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("bin", core, parent)
[docs] def read(self) -> List[float]: """SCPI: READ:GPRF:MEASurement<Instance>:IQRecorder:BIN \n Snippet: value: List[float] = driver.gprfMeasurement.iqRecorder.bin.read() \n Retrieve the I/Q recorder results in binary format. \n :return: iq_samples: Binary block data, see 'ASCII and binary data formats'""" response = self._core.io.query_bin_or_ascii_float_list(f'READ:GPRF:MEASurement<Instance>:IQRecorder:BIN?') return response
[docs] def fetch(self) -> List[float]: """SCPI: FETCh:GPRF:MEASurement<Instance>:IQRecorder:BIN \n Snippet: value: List[float] = driver.gprfMeasurement.iqRecorder.bin.fetch() \n Retrieve the I/Q recorder results in binary format. \n :return: iq_samples: Binary block data, see 'ASCII and binary data formats'""" response = self._core.io.query_bin_or_ascii_float_list(f'FETCh:GPRF:MEASurement<Instance>:IQRecorder:BIN?') return response