Ws

SCPI Commands :

[SOURce<HW>]:BB:EUTRa:TCW:WS:ACPucch
[SOURce<HW>]:BB:EUTRa:TCW:WS:ANBits
[SOURce<HW>]:BB:EUTRa:TCW:WS:ANPattern
[SOURce<HW>]:BB:EUTRa:TCW:WS:BFORmat
[SOURce<HW>]:BB:EUTRa:TCW:WS:CEMode
[SOURce<HW>]:BB:EUTRa:TCW:WS:CHBW
[SOURce<HW>]:BB:EUTRa:TCW:WS:CLID
[SOURce<HW>]:BB:EUTRa:TCW:WS:CYCPrefix
[SOURce<HW>]:BB:EUTRa:TCW:WS:DUPLex
[SOURce<HW>]:BB:EUTRa:TCW:WS:FMTHroughput
[SOURce<HW>]:BB:EUTRa:TCW:WS:FRC
[SOURce<HW>]:BB:EUTRa:TCW:WS:FROFfset
[SOURce<HW>]:BB:EUTRa:TCW:WS:HSMode
[SOURce<HW>]:BB:EUTRa:TCW:WS:NTAOffset
[SOURce<HW>]:BB:EUTRa:TCW:WS:OUPLevel
[SOURce<HW>]:BB:EUTRa:TCW:WS:OVRB
[SOURce<HW>]:BB:EUTRa:TCW:WS:PFMT
[SOURce<HW>]:BB:EUTRa:TCW:WS:PLEVel
[SOURce<HW>]:BB:EUTRa:TCW:WS:PLPC
[SOURce<HW>]:BB:EUTRa:TCW:WS:PLPS
[SOURce<HW>]:BB:EUTRa:TCW:WS:PROCondition
[SOURce<HW>]:BB:EUTRa:TCW:WS:REPetitions
[SOURce<HW>]:BB:EUTRa:TCW:WS:RFFRequency
[SOURce<HW>]:BB:EUTRa:TCW:WS:SCSPacing
[SOURce<HW>]:BB:EUTRa:TCW:WS:SPSFrame
[SOURce<HW>]:BB:EUTRa:TCW:WS:TDDConfig
[SOURce<HW>]:BB:EUTRa:TCW:WS:TIOBase
[SOURce<HW>]:BB:EUTRa:TCW:WS:UEID
[SOURce<HW>]:BB:EUTRa:TCW:WS:VDRFrequency
class WsCls[source]

Ws commands group definition. 35 total commands, 4 Subgroups, 29 group commands

class AnPatternStruct[source]

Structure for reading output parameters. Fields:

  • Ack_Nack_Pattern: List[str]: numeric

  • Bitcount: int: integer Range: 17 to 17

get_ac_pucch() bool[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:ACPucch
value: bool = driver.source.bb.eutra.tcw.ws.get_ac_pucch()

Enables the optional transmission of PUCCH format 2.

return

add_config_pucch: 1| ON| 0| OFF

get_an_bits() RsSmw.enums.UtraTcwaCkNackBits[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:ANBits
value: enums.UtraTcwaCkNackBits = driver.source.bb.eutra.tcw.ws.get_an_bits()

In performance requirement test cases, sets the number of encoded ACK/NACK bits per subframe.

return

ack_nack_bits: ANB4| ANB16| ANB24| ANB64

get_an_pattern() AnPatternStruct[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:ANPattern
value: AnPatternStruct = driver.source.bb.eutra.tcw.ws.get_an_pattern()

In performance requirement test cases, queries the ACK/NACK + SR pattern bits.

return

structure: for return value, see the help for AnPatternStruct structure arguments.

get_bformat() RsSmw.enums.EutraTcwBurstFormat[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:BFORmat
value: enums.EutraTcwBurstFormat = driver.source.bb.eutra.tcw.ws.get_bformat()

Sets the burst format.

return

burst_format: BF4| BF3| BF2| BF1| BF0

get_ce_mode() RsSmw.enums.MappingType[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CEMode
value: enums.MappingType = driver.source.bb.eutra.tcw.ws.get_ce_mode()

Selects the CEMode for test case 8.2.7 according to table 8.2.7.4.2-2: Test parameters for testing PUSCH of .

return

ce_mode: A| B

get_chbw() RsSmw.enums.EutraTcwcHanBw[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CHBW
value: enums.EutraTcwcHanBw = driver.source.bb.eutra.tcw.ws.get_chbw()

Selects the channel bandwidth in MHz: 20, 10, 5, 3, 1.4, 15, or 0.2 MHz.

return

chan_bandwidth: BW20_00| BW10_00| BW5_00| BW3_00| BW1_40| BW15_00| BW00_20

get_clid() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CLID
value: int = driver.source.bb.eutra.tcw.ws.get_clid()

Sets the Cell ID.

return

cell_id: integer Range: 0 to 503

get_cyc_prefix() RsSmw.enums.EuTraDuration[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CYCPrefix
value: enums.EuTraDuration = driver.source.bb.eutra.tcw.ws.get_cyc_prefix()

Selects normal or extended cyclic prefix.

return

cyclic_prefix: EXTended| NORMal

get_duplex() RsSmw.enums.EutraDuplexMode[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:DUPLex
value: enums.EutraDuplexMode = driver.source.bb.eutra.tcw.ws.get_duplex()

Selects whether TDD or FDD duplexing mode is used.

return

duplex: TDD| FDD

get_fm_throughput() RsSmw.enums.EutraTcwfRactMaxThroughput[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:FMTHroughput
value: enums.EutraTcwfRactMaxThroughput = driver.source.bb.eutra.tcw.ws.get_fm_throughput()

Selects the fraction of maximum throughput.

return

fract_max_through: FMT70| FMT30

get_fr_offset() RsSmw.enums.EutraTcwfReqOffset[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:FROFfset
value: enums.EutraTcwfReqOffset = driver.source.bb.eutra.tcw.ws.get_fr_offset()

Sets the frequency offset.

return

freq_offset: FO_1340| FO_625| FO_270| FO_0| FO_200

get_frc() RsSmw.enums.EutraUlFrc[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:FRC
value: enums.EutraUlFrc = driver.source.bb.eutra.tcw.ws.get_frc()

Queries the fixed reference channel used.

return

frc: A11| A12| A13| A14| A15| A21| A22| A23| A31| A32| A33| A34| A35| A36| A37| A41| A42| A43| A44| A45| A46| A47| A48| A51| A52| A53| A54| A55| A56| A57| A71| A72| A73| A74| A75| A76| A81| A82| A83| A84| A85| A86| UE11| UE12| UE21| UE22| UE3 | A16| A17| A121| A122| A123| A124| A125| A126| A131| A132| A133| A134| A135| A136| A171| A172| A173| A174| A175| A176| A181| A182| A183| A184| A185| A186| A191| A192| A193| A194| A195| A196| A211| A212| A213| A214| A215| A216| A221| A222| A223| A224

get_hs_mode() bool[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:HSMode
value: bool = driver.source.bb.eutra.tcw.ws.get_hs_mode()

Enables/disables high-speed mode.

return

high_speed_mode: 1| ON| 0| OFF

get_nta_offset() RsSmw.enums.EutraTcwsIgAdvNtaOffs[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:NTAOffset
value: enums.EutraTcwsIgAdvNtaOffs = driver.source.bb.eutra.tcw.ws.get_nta_offset()

Sets the parameter NTAoffset.

return

sig_adv_nta_offset: NTA624| NTA0

get_oup_level() float[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:OUPLevel
value: float = driver.source.bb.eutra.tcw.ws.get_oup_level()

The settings of the selected test case become active only after selecting ‘Apply Settings’.

return

out_power_level: float Range: -115 to 0

get_ovrb() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:OVRB
value: int = driver.source.bb.eutra.tcw.ws.get_ovrb()

Sets the number of RB the allocated RB(s) are shifted with.

return

offset_vrb: integer Range: 0 to 75

get_pfmt() RsSmw.enums.EutraPracNbiotPreambleFormat[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PFMT
value: enums.EutraPracNbiotPreambleFormat = driver.source.bb.eutra.tcw.ws.get_pfmt()

Selects the NPRACH preamble format for test case 8.5.3 according to tables 8.5.3.5-1 (FDD) or 8.5.3.5-2 (TDD) of .

return

preamble_format: F0| F1| F2| F0A| F1A| 0| 1

get_plevel() str[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PLEVel
value: str = driver.source.bb.eutra.tcw.ws.get_plevel()

Queries the Power Level.

return

power_level: string

get_plpc() str[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PLPC
value: str = driver.source.bb.eutra.tcw.ws.get_plpc()

Queries the resulting PUCCH power level by activated optional transmission of PUCCH format 2.

return

power_level_pucch: string

get_plps() str[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PLPS
value: str = driver.source.bb.eutra.tcw.ws.get_plps()

Queries the resulting PUSCH power level.

return

power_level_pusch: string

get_pro_condition() RsSmw.enums.EutraTcwPropagCond[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PROCondition
value: enums.EutraTcwPropagCond = driver.source.bb.eutra.tcw.ws.get_pro_condition()

Selects a predefined multipath fading propagation conditions. The settings of the fading simulator are adjusted according to the corresponding channel model as defined in 3GPP TS 36.141, Annex B.

return

propagation_cond: AWGNonly| HST3| HST1| PDMov| ETU200Mov| ETU300| EVA70| EVA5| EPA5| ETU70| ETU5| ETU200| ETU1| EPA1

get_repetitions() RsSmw.enums.EutraIotRepetitionsTcw[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:REPetitions
value: enums.EutraIotRepetitionsTcw = driver.source.bb.eutra.tcw.ws.get_repetitions()

Sets the Tx repetitions of wanted signal.

return

repetitions: R4| R8| R32| R16| R64| R2| R1

get_rf_frequency() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:RFFRequency
value: int = driver.source.bb.eutra.tcw.ws.get_rf_frequency()

Sets the RF frequency of the wanted signal.

return

rf_frequency: integer Range: 100E3 to 6E9

get_sc_spacing() RsSmw.enums.EutraSubCarrierSpacing[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:SCSPacing
value: enums.EutraSubCarrierSpacing = driver.source.bb.eutra.tcw.ws.get_sc_spacing()

Sets the NB-IoT subcarrier spacing of 15 kHz or 3.75 kHz.

return

subcarrier_spac: S15| S375

get_sps_frame() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:SPSFrame
value: int = driver.source.bb.eutra.tcw.ws.get_sps_frame()

In TDD duplexing mode, sets the Special Subframe Configuration number.

return

spec_subframe: integer Range: 0 to 8

get_tdd_config() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:TDDConfig
value: int = driver.source.bb.eutra.tcw.ws.get_tdd_config()

For TDD mode, selects the UL/DL Configuration number.

return

tdd_config: integer Range: 0 to 6

get_tio_base() float[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:TIOBase
value: float = driver.source.bb.eutra.tcw.ws.get_tio_base()

Queries the timing offset base value.

return

timing_offset_base: float Range: 0 to 500

get_ue_id() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:UEID
value: int = driver.source.bb.eutra.tcw.ws.get_ue_id()

Sets the UE ID/n_RNTI.

return

ue_idn_rnti: integer Range: 0 to 65535

get_vdr_frequency() int[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:VDRFrequency
value: int = driver.source.bb.eutra.tcw.ws.get_vdr_frequency()

Sets the virtual downlink frequency, used to calculate the UL Doppler shift.

return

virt_dl_rf: integer Range: 100E+03 to 6E+09

set_ac_pucch(add_config_pucch: bool) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:ACPucch
driver.source.bb.eutra.tcw.ws.set_ac_pucch(add_config_pucch = False)

Enables the optional transmission of PUCCH format 2.

param add_config_pucch

1| ON| 0| OFF

set_an_bits(ack_nack_bits: RsSmw.enums.UtraTcwaCkNackBits) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:ANBits
driver.source.bb.eutra.tcw.ws.set_an_bits(ack_nack_bits = enums.UtraTcwaCkNackBits.ANB16)

In performance requirement test cases, sets the number of encoded ACK/NACK bits per subframe.

param ack_nack_bits

ANB4| ANB16| ANB24| ANB64

set_bformat(burst_format: RsSmw.enums.EutraTcwBurstFormat) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:BFORmat
driver.source.bb.eutra.tcw.ws.set_bformat(burst_format = enums.EutraTcwBurstFormat.BF0)

Sets the burst format.

param burst_format

BF4| BF3| BF2| BF1| BF0

set_ce_mode(ce_mode: RsSmw.enums.MappingType) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CEMode
driver.source.bb.eutra.tcw.ws.set_ce_mode(ce_mode = enums.MappingType.A)

Selects the CEMode for test case 8.2.7 according to table 8.2.7.4.2-2: Test parameters for testing PUSCH of .

param ce_mode

A| B

set_chbw(chan_bandwidth: RsSmw.enums.EutraTcwcHanBw) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CHBW
driver.source.bb.eutra.tcw.ws.set_chbw(chan_bandwidth = enums.EutraTcwcHanBw.BW00_20)

Selects the channel bandwidth in MHz: 20, 10, 5, 3, 1.4, 15, or 0.2 MHz.

param chan_bandwidth

BW20_00| BW10_00| BW5_00| BW3_00| BW1_40| BW15_00| BW00_20

set_clid(cell_id: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CLID
driver.source.bb.eutra.tcw.ws.set_clid(cell_id = 1)

Sets the Cell ID.

param cell_id

integer Range: 0 to 503

set_cyc_prefix(cyclic_prefix: RsSmw.enums.EuTraDuration) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:CYCPrefix
driver.source.bb.eutra.tcw.ws.set_cyc_prefix(cyclic_prefix = enums.EuTraDuration.EXTended)

Selects normal or extended cyclic prefix.

param cyclic_prefix

EXTended| NORMal

set_duplex(duplex: RsSmw.enums.EutraDuplexMode) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:DUPLex
driver.source.bb.eutra.tcw.ws.set_duplex(duplex = enums.EutraDuplexMode.FDD)

Selects whether TDD or FDD duplexing mode is used.

param duplex

TDD| FDD

set_fm_throughput(fract_max_through: RsSmw.enums.EutraTcwfRactMaxThroughput) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:FMTHroughput
driver.source.bb.eutra.tcw.ws.set_fm_throughput(fract_max_through = enums.EutraTcwfRactMaxThroughput.FMT30)

Selects the fraction of maximum throughput.

param fract_max_through

FMT70| FMT30

set_fr_offset(freq_offset: RsSmw.enums.EutraTcwfReqOffset) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:FROFfset
driver.source.bb.eutra.tcw.ws.set_fr_offset(freq_offset = enums.EutraTcwfReqOffset.FO_0)

Sets the frequency offset.

param freq_offset

FO_1340| FO_625| FO_270| FO_0| FO_200

set_frc(frc: RsSmw.enums.EutraUlFrc) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:FRC
driver.source.bb.eutra.tcw.ws.set_frc(frc = enums.EutraUlFrc.A11)

Queries the fixed reference channel used.

param frc

A11| A12| A13| A14| A15| A21| A22| A23| A31| A32| A33| A34| A35| A36| A37| A41| A42| A43| A44| A45| A46| A47| A48| A51| A52| A53| A54| A55| A56| A57| A71| A72| A73| A74| A75| A76| A81| A82| A83| A84| A85| A86| UE11| UE12| UE21| UE22| UE3 | A16| A17| A121| A122| A123| A124| A125| A126| A131| A132| A133| A134| A135| A136| A171| A172| A173| A174| A175| A176| A181| A182| A183| A184| A185| A186| A191| A192| A193| A194| A195| A196| A211| A212| A213| A214| A215| A216| A221| A222| A223| A224

set_hs_mode(high_speed_mode: bool) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:HSMode
driver.source.bb.eutra.tcw.ws.set_hs_mode(high_speed_mode = False)

Enables/disables high-speed mode.

param high_speed_mode

1| ON| 0| OFF

set_nta_offset(sig_adv_nta_offset: RsSmw.enums.EutraTcwsIgAdvNtaOffs) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:NTAOffset
driver.source.bb.eutra.tcw.ws.set_nta_offset(sig_adv_nta_offset = enums.EutraTcwsIgAdvNtaOffs.NTA0)

Sets the parameter NTAoffset.

param sig_adv_nta_offset

NTA624| NTA0

set_oup_level(out_power_level: float) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:OUPLevel
driver.source.bb.eutra.tcw.ws.set_oup_level(out_power_level = 1.0)

The settings of the selected test case become active only after selecting ‘Apply Settings’.

param out_power_level

float Range: -115 to 0

set_ovrb(offset_vrb: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:OVRB
driver.source.bb.eutra.tcw.ws.set_ovrb(offset_vrb = 1)

Sets the number of RB the allocated RB(s) are shifted with.

param offset_vrb

integer Range: 0 to 75

set_pfmt(preamble_format: RsSmw.enums.EutraPracNbiotPreambleFormat) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PFMT
driver.source.bb.eutra.tcw.ws.set_pfmt(preamble_format = enums.EutraPracNbiotPreambleFormat._0)

Selects the NPRACH preamble format for test case 8.5.3 according to tables 8.5.3.5-1 (FDD) or 8.5.3.5-2 (TDD) of .

param preamble_format

F0| F1| F2| F0A| F1A| 0| 1

set_pro_condition(propagation_cond: RsSmw.enums.EutraTcwPropagCond) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:PROCondition
driver.source.bb.eutra.tcw.ws.set_pro_condition(propagation_cond = enums.EutraTcwPropagCond.AWGNonly)

Selects a predefined multipath fading propagation conditions. The settings of the fading simulator are adjusted according to the corresponding channel model as defined in 3GPP TS 36.141, Annex B.

param propagation_cond

AWGNonly| HST3| HST1| PDMov| ETU200Mov| ETU300| EVA70| EVA5| EPA5| ETU70| ETU5| ETU200| ETU1| EPA1

set_repetitions(repetitions: RsSmw.enums.EutraIotRepetitionsTcw) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:REPetitions
driver.source.bb.eutra.tcw.ws.set_repetitions(repetitions = enums.EutraIotRepetitionsTcw.R1)

Sets the Tx repetitions of wanted signal.

param repetitions

R4| R8| R32| R16| R64| R2| R1

set_rf_frequency(rf_frequency: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:RFFRequency
driver.source.bb.eutra.tcw.ws.set_rf_frequency(rf_frequency = 1)

Sets the RF frequency of the wanted signal.

param rf_frequency

integer Range: 100E3 to 6E9

set_sc_spacing(subcarrier_spac: RsSmw.enums.EutraSubCarrierSpacing) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:SCSPacing
driver.source.bb.eutra.tcw.ws.set_sc_spacing(subcarrier_spac = enums.EutraSubCarrierSpacing.S15)

Sets the NB-IoT subcarrier spacing of 15 kHz or 3.75 kHz.

param subcarrier_spac

S15| S375

set_sps_frame(spec_subframe: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:SPSFrame
driver.source.bb.eutra.tcw.ws.set_sps_frame(spec_subframe = 1)

In TDD duplexing mode, sets the Special Subframe Configuration number.

param spec_subframe

integer Range: 0 to 8

set_tdd_config(tdd_config: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:TDDConfig
driver.source.bb.eutra.tcw.ws.set_tdd_config(tdd_config = 1)

For TDD mode, selects the UL/DL Configuration number.

param tdd_config

integer Range: 0 to 6

set_ue_id(ue_idn_rnti: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:UEID
driver.source.bb.eutra.tcw.ws.set_ue_id(ue_idn_rnti = 1)

Sets the UE ID/n_RNTI.

param ue_idn_rnti

integer Range: 0 to 65535

set_vdr_frequency(virt_dl_rf: int) None[source]
# SCPI: [SOURce<HW>]:BB:EUTRa:TCW:WS:VDRFrequency
driver.source.bb.eutra.tcw.ws.set_vdr_frequency(virt_dl_rf = 1)

Sets the virtual downlink frequency, used to calculate the UL Doppler shift.

param virt_dl_rf

integer Range: 100E+03 to 6E+09

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.eutra.tcw.ws.clone()

Subgroups