[docs]classIvalCls:"""Ival commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("ival",core,parent)# noinspection PyTypeChecker
[docs]classTimeSpan(StructBase):"""Response structure. Fields: \n - Start: float: No parameter help available - Stop: float: No parameter help available"""__meta_args_list=[ArgStruct.scalar_float('Start'),ArgStruct.scalar_float('Stop')]def__init__(self):StructBase.__init__(self,self)self.Start:float=Noneself.Stop:float=None
[docs]defget(self,stimulus:float,window=repcap.Window.Default)->TimeSpan:"""SCPI: CALCulate<n>:MSRA:WINDow:IVAL \n Snippet: value: TimeSpan = driver.calculate.msra.window.ival.get(stimulus = 1.0, window = repcap.Window.Default) \n Returns the current analysis interval for applications in MSRA operating mode. \n :param stimulus: No help available :param window: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Calculate') :return: structure: for return value, see the help for TimeSpan structure arguments."""param=Conversions.decimal_value_to_str(stimulus)window_cmd_val=self._cmd_group.get_repcap_cmd_value(window,repcap.Window)returnself._core.io.query_struct(f'CALCulate{window_cmd_val}:MSRA:WINDow:IVAL? {param}',self.__class__.TimeSpan())