[docs]classRefLevelCls:"""RefLevel commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("refLevel",core,parent)
[docs]defset(self,state:enums.Synchronization)->None:"""SCPI: INSTrument:COUPle:RLEVel \n Snippet: driver.instrument.couple.refLevel.set(state = enums.Synchronization.ALL) \n This command turns synchronization of the reference level between measurement channels on and off. \n :param state: ALL | NONE ALL Turns on synchronization. NONE Turns off synchronization. """param=Conversions.enum_scalar_to_str(state,enums.Synchronization)self._core.io.write(f'INSTrument:COUPle:RLEVel {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.Synchronization:"""SCPI: INSTrument:COUPle:RLEVel \n Snippet: value: enums.Synchronization = driver.instrument.couple.refLevel.get() \n This command turns synchronization of the reference level between measurement channels on and off. \n :return: state: ALL | NONE ALL Turns on synchronization. NONE Turns off synchronization."""response=self._core.io.query_str(f'INSTrument:COUPle:RLEVel?')returnConversions.str_to_scalar_enum(response,enums.Synchronization)