Source code for RsSmw.Implementations.Source.Iq.Output.Analog.Envelope.Vcc.Value

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


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

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

[docs] def get_level(self) -> float: """ ``[SOURce<HW>]:IQ:OUTPut:[ANALog]:ENVelope:VCC:VALue:LEVel`` \n Snippet: ``value: float = driver.source.iq.output.analog.envelope.vcc.value.get_level()`` \n Queries the Vcc value of the current RMS power level (operating point) . :return: vcc_for_rf_level: float Range: 0 to 38 """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:OUTPut:ANALog:ENVelope:VCC:VALue:LEVel?') return Conversions.str_to_float(response)
[docs] def get_pep(self) -> float: """ ``[SOURce<HW>]:IQ:OUTPut:[ANALog]:ENVelope:VCC:VALue:PEP`` \n Snippet: ``value: float = driver.source.iq.output.analog.envelope.vcc.value.get_pep()`` \n Queries the Vcc value of the current PEP of the generated RF signal. :return: vcc_for_crt_pep: float Range: 0 to 38 """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:OUTPut:ANALog:ENVelope:VCC:VALue:PEP?') return Conversions.str_to_float(response)