Source code for RsCmwWcdmaSig.Implementations.Hcqi_.Carrier_.Dtx

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal.StructBase import StructBase
from ....Internal.ArgStruct import ArgStruct


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Dtx: """Dtx commands group definition. 2 total commands, 0 Sub-groups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("dtx", core, parent) # noinspection PyTypeChecker
[docs] class ResultData(StructBase): """Response structure. Fields: \n - Reliability: int: See 'Reliability Indicator' - Median_Cqim_1: float: Percentage of DTX responses measured at median CQI - 1 in the third stage of measurement (AWGN test case only) Additional parameter: On|Off enables/disables the DTX statistics Range: 0 % to 100 %, Unit: % - Median_Cqi: float: Percentage of DTX responses measured at median CQI in the second stage of measurement (AWGN and fading test cases) Additional parameter: On|Off enables/disables the DTX statistics Range: 0 % to 100 %, Unit: % - Median_Cqip_2: float: Percentage of DTX responses measured at median CQI + 2 in the third stage of measurement (AWGN test case only) Additional parameter: On|Off enables/disables the DTX statistics Range: 0 % to 100 %, Unit: % - Median_Cqip_3: float: Percentage of DTX responses measured at median CQI + 3 in the second stage of measurement (Fading test case only) Additional parameter: On|Off enables/disables the DTX statistics Range: 0 % to 100 %, Unit: %""" __meta_args_list = [ ArgStruct.scalar_int('Reliability', 'Reliability'), ArgStruct.scalar_float('Median_Cqim_1'), ArgStruct.scalar_float('Median_Cqi'), ArgStruct.scalar_float('Median_Cqip_2'), ArgStruct.scalar_float('Median_Cqip_3')] def __init__(self): StructBase.__init__(self, self) self.Reliability: int = None self.Median_Cqim_1: float = None self.Median_Cqi: float = None self.Median_Cqip_2: float = None self.Median_Cqip_3: float = None
[docs] def fetch(self) -> ResultData: """SCPI: FETCh:WCDMa:SIGNaling<instance>:HCQI:CARRier<carrier>:DTX \n Snippet: value: ResultData = driver.hcqi.carrier.dtx.fetch() \n Returns the DTX results of the second and third stage of HSDPA CQI measurement. As indicated in the parameter descriptions below, each test case provides valid results for a subset of the parameters only. For the other parameters NCAP is returned. \n Global Repeated Capabilities: repcap.Carrier :return: structure: for return value, see the help for ResultData structure arguments.""" return self._core.io.query_struct(f'FETCh:WCDMa:SIGNaling<Instance>:HCQI:CARRier<Carrier>:DTX?', self.__class__.ResultData())
[docs] def read(self) -> ResultData: """SCPI: READ:WCDMa:SIGNaling<instance>:HCQI:CARRier<carrier>:DTX \n Snippet: value: ResultData = driver.hcqi.carrier.dtx.read() \n Returns the DTX results of the second and third stage of HSDPA CQI measurement. As indicated in the parameter descriptions below, each test case provides valid results for a subset of the parameters only. For the other parameters NCAP is returned. \n Global Repeated Capabilities: repcap.Carrier :return: structure: for return value, see the help for ResultData structure arguments.""" return self._core.io.query_struct(f'READ:WCDMa:SIGNaling<Instance>:HCQI:CARRier<Carrier>:DTX?', self.__class__.ResultData())