Source code for RsFsw.Implementations.MassMemory.Load.Iq.Stream.Auto

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class AutoCls: """Auto commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("auto", core, parent)
[docs] def set(self, state: bool) -> None: """SCPI: MMEMory:LOAD:IQ:STReam:AUTO \n Snippet: driver.massMemory.load.iq.stream.auto.set(state = False) \n Only available for files that contain more than one data stream from multiple channels: automatically defines which data stream in the file is used as input for the channel. \n :param state: ON | OFF | 0 | 1 OFF | 0 The data stream specified by method RsFsw.MassMemory.Load.Iq.Stream.set is used as input for the channel. ON | 1 The first data stream in the file is used as input for the channel. Applications that support multiple data streams use the first data stream in the file for the first input stream, the second for the second stream etc. """ param = Conversions.bool_to_str(state) self._core.io.write(f'MMEMory:LOAD:IQ:STReam:AUTO {param}')