[docs]classSlopeCls:"""Slope commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("slope",core,parent)
[docs]defset(self,slope:enums.SlopeType)->None:"""SCPI: TRIGger[:SEQuence]:SLOPe \n Snippet: driver.applications.k18AmplifierEt.trigger.sequence.slope.set(slope = enums.SlopeType.NEGative) \n For external and time domain trigger sources, you can define whether triggering occurs when the signal rises to the trigger level or falls down to it. \n :param slope: POSitive | NEGative POSitive Triggers when the signal rises to the trigger level (rising edge) . NEGative Triggers when the signal drops to the trigger level (falling edge) . """param=Conversions.enum_scalar_to_str(slope,enums.SlopeType)self._core.io.write(f'TRIGger:SEQuence:SLOPe {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.SlopeType:"""SCPI: TRIGger[:SEQuence]:SLOPe \n Snippet: value: enums.SlopeType = driver.applications.k18AmplifierEt.trigger.sequence.slope.get() \n For external and time domain trigger sources, you can define whether triggering occurs when the signal rises to the trigger level or falls down to it. \n :return: slope: No help available"""response=self._core.io.query_str(f'TRIGger:SEQuence:SLOPe?')returnConversions.str_to_scalar_enum(response,enums.SlopeType)