[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)@propertydefx(self):"""x commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_x'):from.XimportXClsself._x=XCls(self._core,self._cmd_group)returnself._x
[docs]defget(self,trace_type:enums.TraceTypeNr5G,window=repcap.Window.Default)->List[float]:"""SCPI: TRACe<n>[:DATA] \n Snippet: value: List[float] = driver.applications.k14Xnr5G.trace.data.get(trace_type = enums.TraceTypeNr5G.COReset, window = repcap.Window.Default) \n This command queries current trace data and measurement results. In the Spectrum application only, you can use it as a setting command to transfer trace data from an external source to the FSW. The data format depends on method RsFsw. FormatPy.Data.set. \n :param trace_type: No help available :param window: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Trace') :return: trace_ydata: No help available"""param=Conversions.enum_scalar_to_str(trace_type,enums.TraceTypeNr5G)window_cmd_val=self._cmd_group.get_repcap_cmd_value(window,repcap.Window)response=self._core.io.query_bin_or_ascii_float_list(f'FORMAT REAL,32;TRACe{window_cmd_val}:DATA? {param}')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