[docs]classDataCls:"""Data commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("data",core,parent)
[docs]defset(self,limit_line_points:List[float],window=repcap.Window.Default,limitIx=repcap.LimitIx.Default)->None:"""SCPI: CALCulate<n>:LIMit<li>:LOWer[:DATA] \n Snippet: driver.calculate.limit.lower.data.set(limit_line_points = [1.1, 2.2, 3.3], window = repcap.Window.Default, limitIx = repcap.LimitIx.Default) \n Defines the vertical definition points of a lower limit line. \n :param limit_line_points: Variable number of level values. Note that the number of vertical values has to be the same as the number of horizontal values set with method RsFsw.Calculate.Limit.Control.Data.set. If not, the FSW either adds missing values or ignores surplus values. The unit depends on method RsFsw.Calculate.Limit.Unit.set. Unit: DBM :param window: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Calculate') :param limitIx: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Limit') """param=Conversions.list_to_csv_str(limit_line_points)window_cmd_val=self._cmd_group.get_repcap_cmd_value(window,repcap.Window)limitIx_cmd_val=self._cmd_group.get_repcap_cmd_value(limitIx,repcap.LimitIx)self._core.io.write(f'CALCulate{window_cmd_val}:LIMit{limitIx_cmd_val}:LOWer:DATA {param}')
[docs]defget(self,window=repcap.Window.Default,limitIx=repcap.LimitIx.Default)->List[float]:"""SCPI: CALCulate<n>:LIMit<li>:LOWer[:DATA] \n Snippet: value: List[float] = driver.calculate.limit.lower.data.get(window = repcap.Window.Default, limitIx = repcap.LimitIx.Default) \n Defines the vertical definition points of a lower limit line. \n :param window: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Calculate') :param limitIx: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Limit') :return: limit_line_points: Variable number of level values. Note that the number of vertical values has to be the same as the number of horizontal values set with method RsFsw.Calculate.Limit.Control.Data.set. If not, the FSW either adds missing values or ignores surplus values. The unit depends on method RsFsw.Calculate.Limit.Unit.set. Unit: DBM"""window_cmd_val=self._cmd_group.get_repcap_cmd_value(window,repcap.Window)limitIx_cmd_val=self._cmd_group.get_repcap_cmd_value(limitIx,repcap.LimitIx)response=self._core.io.query_bin_or_ascii_float_list(f'CALCulate{window_cmd_val}:LIMit{limitIx_cmd_val}:LOWer:DATA?')returnresponse