[docs]classDpathCls:"""Dpath commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("dpath",core,parent)
[docs]defset(self,direct_path_setting:enums.AutoOrOff)->None:"""SCPI: INPut:DPATh \n Snippet: driver.applications.k6Pulse.inputPy.dpath.set(direct_path_setting = enums.AutoOrOff.AUTO) \n Enables or disables the use of the direct path for frequencies close to 0 Hz. If an external frontend is active, the direct path is always used. \n :param direct_path_setting: AUTO | OFF AUTO | 1 (Default) the direct path is used automatically for frequencies close to 0 Hz. OFF | 0 The analog mixer path is always used. """param=Conversions.enum_scalar_to_str(direct_path_setting,enums.AutoOrOff)self._core.io.write(f'INPut:DPATh {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.AutoOrOff:"""SCPI: INPut:DPATh \n Snippet: value: enums.AutoOrOff = driver.applications.k6Pulse.inputPy.dpath.get() \n Enables or disables the use of the direct path for frequencies close to 0 Hz. If an external frontend is active, the direct path is always used. \n :return: direct_path_setting: No help available"""response=self._core.io.query_str(f'INPut:DPATh?')returnConversions.str_to_scalar_enum(response,enums.AutoOrOff)