[docs]classGlActiveCls:"""GlActive commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("glActive",core,parent)
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:BHConfig:GLACtive:[STATe] \n Snippet: value: bool = driver.source.bb.dvb.dvbx.bhConfig.glActive.get_state() \n Sets that the GSE stream is GSE-Lite compliant. \n :return: gl_active: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBX:BHConfig:GLACtive:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,gl_active:bool)->None:"""SCPI: [SOURce<HW>]:BB:DVB:DVBX:BHConfig:GLACtive:[STATe] \n Snippet: driver.source.bb.dvb.dvbx.bhConfig.glActive.set_state(gl_active = False) \n Sets that the GSE stream is GSE-Lite compliant. \n :param gl_active: 1| ON| 0| OFF """param=Conversions.bool_to_str(gl_active)self._core.io.write(f'SOURce<HwInstance>:BB:DVB:DVBX:BHConfig:GLACtive:STATe {param}')