[docs]classGpsCls:"""Gps commands group definition. 4 total commands, 0 Subgroups, 4 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("gps",core,parent)
[docs]defget_active(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:SV:SELection:GPS:ACTive \n Snippet: value: int = driver.source.bb.gnss.sv.selection.gps.get_active() \n Queries the number of active satellites per GNSS system that are currently part of the satellite's constellation. \n :return: active_svs: integer Range: 0 to 24 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GPS:ACTive?')returnConversions.str_to_int(response)
[docs]defget_available(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:SV:SELection:GPS:AVAilable \n Snippet: value: int = driver.source.bb.gnss.sv.selection.gps.get_available() \n Queries the number of available satellites per GNSS system. \n :return: available_svs: integer Range: 0 to 40 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GPS:AVAilable?')returnConversions.str_to_int(response)
[docs]defget_max(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:SV:SELection:GPS:MAX \n Snippet: value: int = driver.source.bb.gnss.sv.selection.gps.get_max() \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. \n :return: maximum_svs: integer Range: 0 to 24 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GPS:MAX?')returnConversions.str_to_int(response)
[docs]defset_max(self,maximum_svs:int)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:SV:SELection:GPS:MAX \n Snippet: driver.source.bb.gnss.sv.selection.gps.set_max(maximum_svs = 1) \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. \n :param maximum_svs: integer Range: 0 to 24 """param=Conversions.decimal_value_to_str(maximum_svs)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:SV:SELection:GPS:MAX {param}')
[docs]defget_min(self)->int:"""SCPI: [SOURce<HW>]:BB:GNSS:SV:SELection:GPS:MIN \n Snippet: value: int = driver.source.bb.gnss.sv.selection.gps.get_min() \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. \n :return: minimum_svs: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:GNSS:SV:SELection:GPS:MIN?')returnConversions.str_to_int(response)
[docs]defset_min(self,minimum_svs:int)->None:"""SCPI: [SOURce<HW>]:BB:GNSS:SV:SELection:GPS:MIN \n Snippet: driver.source.bb.gnss.sv.selection.gps.set_min(minimum_svs = 1) \n Sets the minimum and maximum number of satellites per GNSS system that can be included in the satellite constellation. \n :param minimum_svs: integer Range: 0 to 24 """param=Conversions.decimal_value_to_str(minimum_svs)self._core.io.write(f'SOURce<HwInstance>:BB:GNSS:SV:SELection:GPS:MIN {param}')