Source code for RsSmbv.Implementations.Source.Bb.Nr5G.Output.Power.Info

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class InfoCls: """Info commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("info", core, parent)
[docs] def get_state(self) -> bool: """SCPI: [SOURce<HW>]:BB:NR5G:OUTPut:POWer:INFO:STATe \n Snippet: value: bool = driver.source.bb.nr5G.output.power.info.get_state() \n No command help available \n :return: power_info_valid: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:POWer:INFO:STATe?') return Conversions.str_to_bool(response)