Source code for RsSmw.Implementations.Source.Bb.Nr5G.Qckset.FrmFormat.Ssc.Sfi

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


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

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

[docs] def get_state(self) -> bool: """ ``[SOURce<HW>]:BB:NR5G:QCKSet:FRMFormat:SSC:SFI:STATe`` \n Snippet: ``value: bool = driver.source.bb.nr5G.qckset.frmFormat.ssc.sfi.get_state()`` \n Turns usage of the special slot format on and off. If on, select a special frame as defined by 3GPP with method ``RsSmw.source.bb.nr5G.qckset.frmFormat.ssc.slfmt()`` . If off, select the number of symbols with \n - Downlink: method ``RsSmw.source.bb.nr5G.qckset.frmFormat.ssc.ndl_symbols()`` - Uplink: method ``RsSmw.source.bb.nr5G.qckset.frmFormat.ssc.nul_symbols()`` """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:QCKSet:FRMFormat:SSC:SFI:STATe?') return Conversions.str_to_bool(response)