[docs]classCouplingCls:"""Coupling commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("coupling",core,parent)
[docs]defset(self,coup_type:enums.CouplingTypeB)->None:"""SCPI: TRIGger[:SEQuence]:OSCilloscope:COUPling \n Snippet: driver.applications.k60Transient.trigger.sequence.oscilloscope.coupling.set(coup_type = enums.CouplingTypeB.AC) \n Configures the coupling of the external trigger to the oscilloscope. \n :param coup_type: Coupling type DC Direct connection with 50 Ohm termination, passes both DC and AC components of the trigger signal. CDLimit Direct connection with 1 MOhm termination, passes both DC and AC components of the trigger signal. AC Connection through capacitor, removes unwanted DC and very low-frequency components. """param=Conversions.enum_scalar_to_str(coup_type,enums.CouplingTypeB)self._core.io.write(f'TRIGger:SEQuence:OSCilloscope:COUPling {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.CouplingTypeB:"""SCPI: TRIGger[:SEQuence]:OSCilloscope:COUPling \n Snippet: value: enums.CouplingTypeB = driver.applications.k60Transient.trigger.sequence.oscilloscope.coupling.get() \n Configures the coupling of the external trigger to the oscilloscope. \n :return: coup_type: Coupling type DC Direct connection with 50 Ohm termination, passes both DC and AC components of the trigger signal. CDLimit Direct connection with 1 MOhm termination, passes both DC and AC components of the trigger signal. AC Connection through capacitor, removes unwanted DC and very low-frequency components."""response=self._core.io.query_str(f'TRIGger:SEQuence:OSCilloscope:COUPling?')returnConversions.str_to_scalar_enum(response,enums.CouplingTypeB)