Tpc

SCPI Commands

CONFigure:WCDMa:SIGNaling<Instance>:UL:TPC:STATe
CONFigure:WCDMa:SIGNaling<Instance>:UL:TPC:PATTern
CONFigure:WCDMa:SIGNaling<Instance>:UL:TPC:MODE
class Tpc[source]

Tpc commands group definition. 9 total commands, 5 Sub-groups, 3 group commands

get_mode()RsCmwWcdmaSig.enums.TpcMode[source]
# SCPI: CONFigure:WCDMa:SIGNaling<instance>:UL:TPC:MODE
value: enums.TpcMode = driver.configure.uplink.tpc.get_mode()

Defines the power control algorithm and the TPC step size configured at the UE.

return

mode: A2S1 | A1S1 | A1S2 A2S1: algorithm 2, step size 1 dB A1S1: algorithm 1, step size 1 dB A1S2: algorithm 1, step size 2 dB

get_pattern()str[source]
# SCPI: CONFigure:WCDMa:SIGNaling<instance>:UL:TPC:PATTern
value: str = driver.configure.uplink.tpc.get_pattern()

Sets the ‘User Defined Pattern’ to be used for ‘Single Pattern’ and ‘Continuous Pattern’.

return

pattern: String to specify the pattern. Range: up to 60 zeros and ones

get_state()RsCmwWcdmaSig.enums.TpcState[source]
# SCPI: CONFigure:WCDMa:SIGNaling<instance>:UL:TPC:STATe
value: enums.TpcState = driver.configure.uplink.tpc.get_state()

Queries the current TPC state.

return

state: IDLE | CONTinous | ALTernating | TPLocked | TPUNlocked | MAXPower | MINPower | TRANsition | SINGle | SEARching | FAILed | MRESource | SCONflict | SCHanged IDLE: no connection established CONTinuous: transmitting continuous pattern ALTernating: transmitting alternating pattern TPLocked: closed loop target power reached TPUNlocked: reaching closed loop target power failed MAXPower: maximum power reached MINPower: minimum power reached TRANsition: transition to a state, e.g. to maximum power SINGle: transmitting a single user-defined pattern Only relevant for ‘Max. Power E-DCH’ setup: SEARching: setup started, max power not yet reached FAILed: test procedure failed in state ‘Searching’ MRESource: required resources are blocked/not available SCONflict: settings are inappropriate for the setup SCHanged: relevant settings changed after setup execution

set_mode(mode: RsCmwWcdmaSig.enums.TpcMode)None[source]
# SCPI: CONFigure:WCDMa:SIGNaling<instance>:UL:TPC:MODE
driver.configure.uplink.tpc.set_mode(mode = enums.TpcMode.A1S1)

Defines the power control algorithm and the TPC step size configured at the UE.

param mode

A2S1 | A1S1 | A1S2 A2S1: algorithm 2, step size 1 dB A1S1: algorithm 1, step size 1 dB A1S2: algorithm 1, step size 2 dB

set_pattern(pattern: str)None[source]
# SCPI: CONFigure:WCDMa:SIGNaling<instance>:UL:TPC:PATTern
driver.configure.uplink.tpc.set_pattern(pattern = '1')

Sets the ‘User Defined Pattern’ to be used for ‘Single Pattern’ and ‘Continuous Pattern’.

param pattern

String to specify the pattern. Range: up to 60 zeros and ones

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.configure.uplink.tpc.clone()

Subgroups