[docs]classO100Cls:"""O100 commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("o100",core,parent)
[docs]defset(self,state:bool)->None:"""SCPI: [SENSe]:ROSCillator:O100 \n Snippet: driver.sense.roscillator.o100.set(state = False) \n This command turns the output of a reference signal on the corresponding connector ('Ref Output') on and off. [SENSe:]ROSCillator:O100: Provides a 100 MHz reference signal on corresponding connector. [SENSe:]ROSCillator:O640: Provides a 640 MHz reference signal on corresponding connector. \n :param state: ON | OFF | 1 | 0 OFF | 0 Switches the reference off. ON | 1 Switches the reference on """param=Conversions.bool_to_str(state)self._core.io.write_with_opc(f'SENSe:ROSCillator:O100 {param}')
[docs]defget(self)->bool:"""SCPI: [SENSe]:ROSCillator:O100 \n Snippet: value: bool = driver.sense.roscillator.o100.get() \n This command turns the output of a reference signal on the corresponding connector ('Ref Output') on and off. [SENSe:]ROSCillator:O100: Provides a 100 MHz reference signal on corresponding connector. [SENSe:]ROSCillator:O640: Provides a 640 MHz reference signal on corresponding connector. \n :return: state: ON | OFF | 1 | 0 OFF | 0 Switches the reference off. ON | 1 Switches the reference on"""response=self._core.io.query_str_with_opc(f'SENSe:ROSCillator:O100?')returnConversions.str_to_bool(response)