[docs]classS30KCls:"""S30K commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("s30K",core,parent)
[docs]defget_trtsamples(self)->int:"""SCPI: [SOURce<HW>]:BB:NR5G:OUTPut:TDWind:S30K:TRTSamples \n Snippet: value: int = driver.source.bb.nr5G.output.tdWind.s30K.get_trtsamples() \n Queries the number of transition samples. INTRO_CMD_HELP: The next to last block in the command syntax indicates the used SCS and CP combination. \n - DL: SE<SCS>K, where E indicates the extended CP or for normal CP, the designation is omitted \n :return: transition_sampl: integer Range: 0 to 1000 """response=self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:TDWind:S30K:TRTSamples?')returnConversions.str_to_int(response)
[docs]defget_tr_time(self)->float:"""SCPI: [SOURce<HW>]:BB:NR5G:OUTPut:TDWind:S30K:TRTime \n Snippet: value: float = driver.source.bb.nr5G.output.tdWind.s30K.get_tr_time() \n Sets the transition time when time domain windowing is active. INTRO_CMD_HELP: The next to last block in the command syntax indicates the used SCS and CP combination. \n - DL: SE<SCS>K, where E indicates the extended CP or for normal CP, the designation is omitted \n :return: transition_time: float Range: 0 to 1E-5 """response=self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:TDWind:S30K:TRTime?')returnConversions.str_to_float(response)
[docs]defset_tr_time(self,transition_time:float)->None:"""SCPI: [SOURce<HW>]:BB:NR5G:OUTPut:TDWind:S30K:TRTime \n Snippet: driver.source.bb.nr5G.output.tdWind.s30K.set_tr_time(transition_time = 1.0) \n Sets the transition time when time domain windowing is active. INTRO_CMD_HELP: The next to last block in the command syntax indicates the used SCS and CP combination. \n - DL: SE<SCS>K, where E indicates the extended CP or for normal CP, the designation is omitted \n :param transition_time: float Range: 0 to 1E-5 """param=Conversions.decimal_value_to_str(transition_time)self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:OUTPut:TDWind:S30K:TRTime {param}')