[docs]classDataCls:"""Data commands group definition. 2 total commands, 1 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("data",core,parent)@propertydefmemory(self):"""memory commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_memory'):from.MemoryimportMemoryClsself._memory=MemoryCls(self._core,self._cmd_group)returnself._memory
[docs]defget(self)->List[float]:"""SCPI: TRACe:IQ:DATA \n Snippet: value: List[float] = driver.applications.k6Pulse.trace.iq.data.get() \n Initiates a measurement with the current settings and returns the captured data from I/Q measurements. Corresponds to: INIT:IMM;*WAI;method RsFsw.Trace.Iq.Data.Memory.get_ However, the method RsFsw.Trace.Iq.Data.get_ command is quicker in comparison. Note: Using the command with the *RST values for the TRACe:IQ:SET command, the following minimum buffer sizes for the response data are recommended: ASCII format 10 kBytes, binary format: 2 kBytes \n :return: iq_data: Measured voltage for I and Q component for each sample that has been captured during the measurement. For analog baseband input in real baseband mode, the results for the irrelevant component are all 0. For more information see 'I/Q processing modes'. The number of samples depends on TRACe:IQ:SET. In ASCII format, the number of results is 2* the number of samples. The data format depends on method RsFsw.Applications.K18_AmplifierEt.Trace.Iq.Data.FormatPy.set. Unit: V"""response=self._core.io.query_bin_or_ascii_float_list(f'FORMAT REAL,32;TRACe:IQ:DATA?')returnresponse
defclone(self)->'DataCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=DataCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group