Source code for RsSmw.Implementations.Source.Bb.Gsm.Pramp.BbOnly

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class BbOnlyCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("bbOnly", core, parent)

[docs] def get_state(self) -> bool: """ ``[SOURce<HW>]:BB:GSM:PRAMp:BBONly:[STATe]`` \n Snippet: ``value: bool = driver.source.bb.gsm.pramp.bbOnly.get_state()`` \n Note: This command is available for instruments with RF output only. Selects power ramping in the baseband only or mixed power ramping in the baseband and the RF section. The 'ON' setting is mandatory if, with power ramping active, only the baseband signal is output (I/Q outputs) , or, in case of two-path instruments, if a baseband signal is applied to two RF paths (RF A and RF B) . Only then can a signal with a defined, predictable level be output. :return: state: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:GSM:PRAMp:BBONly:STATe?') return Conversions.str_to_bool(response)