[docs]classStepCls:"""Step commands group definition. 4 total commands, 2 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("step",core,parent)@propertydefauto(self):"""auto commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_auto'):from.AutoimportAutoClsself._auto=AutoCls(self._core,self._cmd_group)returnself._auto@propertydeflink(self):"""link commands group. 1 Sub-classes, 1 commands."""ifnothasattr(self,'_link'):from.LinkimportLinkClsself._link=LinkCls(self._core,self._cmd_group)returnself._link
[docs]defset(self,stepsize:float)->None:"""SCPI: [SENSe]:FREQuency:CENTer:STEP \n Snippet: driver.applications.k91Wlan.sense.frequency.center.step.set(stepsize = 1.0) \n Defines the center frequency step size. You can increase or decrease the center frequency quickly in fixed steps using the SENS:FREQ UP AND SENS:FREQ DOWN commands, see [SENSe:]FREQuency:CENTer. \n :param stepsize: For fmax, refer to the specifications document. Range: 1 to fMAX, Unit: Hz """param=Conversions.decimal_value_to_str(stepsize)self._core.io.write(f'SENSe:FREQuency:CENTer:STEP {param}')
[docs]defget(self)->float:"""SCPI: [SENSe]:FREQuency:CENTer:STEP \n Snippet: value: float = driver.applications.k91Wlan.sense.frequency.center.step.get() \n Defines the center frequency step size. You can increase or decrease the center frequency quickly in fixed steps using the SENS:FREQ UP AND SENS:FREQ DOWN commands, see [SENSe:]FREQuency:CENTer. \n :return: stepsize: For fmax, refer to the specifications document. Range: 1 to fMAX, Unit: Hz"""response=self._core.io.query_str(f'SENSe:FREQuency:CENTer:STEP?')returnConversions.str_to_float(response)
defclone(self)->'StepCls':"""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=StepCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group