[docs]defget_mf_channels(self)->bool:"""SCPI: [SOURce<HW>]:BB:GBAS:MFCHannels \n Snippet: value: bool = driver.source.bb.gbas.get_mf_channels() \n No command help available \n :return: mfch: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:MFCHannels?')returnConversions.str_to_bool(response)
[docs]defset_mf_channels(self,mfch:bool)->None:"""SCPI: [SOURce<HW>]:BB:GBAS:MFCHannels \n Snippet: driver.source.bb.gbas.set_mf_channels(mfch = False) \n No command help available \n :param mfch: No help available """param=Conversions.bool_to_str(mfch)self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:MFCHannels {param}')
# noinspection PyTypeChecker
[docs]defget_mode(self)->enums.GbasMode:"""SCPI: [SOURce<HW>]:BB:GBAS:MODE \n Snippet: value: enums.GbasMode = driver.source.bb.gbas.get_mode() \n Sets the GBAS mode. Select between GBAS (LAAS) header information or SCAT-I header information. \n :return: scat: GBAS| SCAT """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:MODE?')returnConversions.str_to_scalar_enum(response,enums.GbasMode)
[docs]defset_mode(self,scat:enums.GbasMode)->None:"""SCPI: [SOURce<HW>]:BB:GBAS:MODE \n Snippet: driver.source.bb.gbas.set_mode(scat = enums.GbasMode.GBAS) \n Sets the GBAS mode. Select between GBAS (LAAS) header information or SCAT-I header information. \n :param scat: GBAS| SCAT """param=Conversions.enum_scalar_to_str(scat,enums.GbasMode)self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:MODE {param}')
[docs]defget_no_frames(self)->int:"""SCPI: [SOURce<HW>]:BB:GBAS:NOFRames \n Snippet: value: int = driver.source.bb.gbas.get_no_frames() \n Queries the number of VDB frames. \n :return: no_frame: integer Range: 1 to 12500 """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:NOFRames?')returnConversions.str_to_int(response)
[docs]defpreset(self)->None:"""SCPI: [SOURce<HW>]:BB:GBAS:PRESet \n Snippet: driver.source.bb.gbas.preset() \n Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:GBAS:STATe. \n """self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:PRESet')
[docs]defpreset_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: [SOURce<HW>]:BB:GBAS:PRESet \n Snippet: driver.source.bb.gbas.preset_with_opc() \n Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:GBAS:STATe. \n Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value. \n :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SOURce<HwInstance>:BB:GBAS:PRESet',opc_timeout_ms)
[docs]defget_scati(self)->bool:"""SCPI: [SOURce<HW>]:BB:GBAS:SCATi \n Snippet: value: bool = driver.source.bb.gbas.get_scati() \n No command help available \n :return: scat: No help available """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:SCATi?')returnConversions.str_to_bool(response)
[docs]defset_scati(self,scat:bool)->None:"""SCPI: [SOURce<HW>]:BB:GBAS:SCATi \n Snippet: driver.source.bb.gbas.set_scati(scat = False) \n No command help available \n :param scat: No help available """param=Conversions.bool_to_str(scat)self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:SCATi {param}')
[docs]defget_sr_info(self)->str:"""SCPI: [SOURce<HW>]:BB:GBAS:SRINfo \n Snippet: value: str = driver.source.bb.gbas.get_sr_info() \n Queries the used sample rate. \n :return: sr_info: string """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:SRINfo?')returntrim_str_response(response)
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:GBAS:STATe \n Snippet: value: bool = driver.source.bb.gbas.get_state() \n Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path. \n :return: state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,state:bool)->None:"""SCPI: [SOURce<HW>]:BB:GBAS:STATe \n Snippet: driver.source.bb.gbas.set_state(state = False) \n Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path. \n :param state: 1| ON| 0| OFF """param=Conversions.bool_to_str(state)self._core.io.write(f'SOURce<HwInstance>:BB:GBAS:STATe {param}')
[docs]defget_version(self)->str:"""SCPI: [SOURce<HW>]:BB:GBAS:VERSion \n Snippet: value: str = driver.source.bb.gbas.get_version() \n Queries the GBAS specification version that corresponds to the set GBAS mode. \n :return: version: string """response=self._core.io.query_str('SOURce<HwInstance>:BB:GBAS:VERSion?')returntrim_str_response(response)
defclone(self)->'GbasCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=GbasCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group