[docs]classMCls:"""M commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("m",core,parent)
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:GNSS:SYSTem:GPS:SIGNal:L1Band:M:[STATe] \n Snippet: value: bool = driver.source.bb.gnss.system.gps.signal.l1Band.m.get_state() \n Enables the corresponding signal from the GNSS system in the corresponding RF band. \n :return: signal_state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SYSTem:GPS:SIGNal:L1Band:M:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,signal_state:bool)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:SYSTem:GPS:SIGNal:L1Band:M:[STATe] \n Snippet: driver.source.bb.gnss.system.gps.signal.l1Band.m.set_state(signal_state = False) \n Enables the corresponding signal from the GNSS system in the corresponding RF band. \n :param signal_state: 1| ON| 0| OFF """param=Conversions.bool_to_str(signal_state)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:SYSTem:GPS:SIGNal:L1Band:M:STATe {param}')