Tetra#

SCPI Commands :

[SOURce<HW>]:BB:TETRa:CTYPe
[SOURce<HW>]:BB:TETRa:DBTYpe
[SOURce<HW>]:BB:TETRa:LDIRection
[SOURce<HW>]:BB:TETRa:MTYPe
[SOURce<HW>]:BB:TETRa:PRESet
[SOURce<HW>]:BB:TETRa:SLENgth
[SOURce<HW>]:BB:TETRa:STATe
[SOURce<HW>]:BB:TETRa:TMODe
[SOURce<HW>]:BB:TETRa:VERSion
Commands in total: 108
Subgroups: 11
Direct child commands: 9
get_ctype ( ) → TetraChnnlType
set_ctype ( ctype: TetraChnnlType ) → None
# [SOURce<HW>]:BB:TETRa:CTYPe
# get:
value: enums.TetraChnnlType = driver.source.bb.tetra.get_ctype()
# set:
driver.source.bb.tetra.set_ctype(ctype = enums.TetraChnnlType.CH0)

(for Test Model set to T1 or T4) Determines the channel type.

Parameters:

ctype – CH0 | CH1 | CH2 | CH3 | CH4 | CH7 | CH8 | CH9 | CH10 | CH11 | CH21 | CH22 | CH23 | CH24 | CH25 | CH26 | CH27

get_db_type ( ) → TetraDwnBrstType
set_db_type ( db_type: TetraDwnBrstType ) → None
# [SOURce<HW>]:BB:TETRa:DBTYpe
# get:
value: enums.TetraDwnBrstType = driver.source.bb.tetra.get_db_type()
# set:
driver.source.bb.tetra.set_db_type(db_type = enums.TetraDwnBrstType.CONTinuous)

(in Downlink Link Direction and for Test Model set to T2 or User Defined) Determines the downlink burst type.

Parameters:

db_type – CONTinuous | DCONtinuous

get_ldirection ( ) → UpDownDirection
set_ldirection ( ldirection: UpDownDirection ) → None
# [SOURce<HW>]:BB:TETRa:LDIRection
# get:
value: enums.UpDownDirection = driver.source.bb.tetra.get_ldirection()
# set:
driver.source.bb.tetra.set_ldirection(ldirection = enums.UpDownDirection.DOWN)

Selects the transmission direction. This parameter determines the available Channel Types.

Parameters:

ldirection – DOWN | UP

  • DOWN: The transmission direction selected is from the base station (BS) to the terminal (MS) . The signal corresponds to that of a BS.

  • UP: The transmission direction selected is from MS to the BS. The signal corresponds to that of a terminal.

get_mtype ( ) → TetraModulType
set_mtype ( mtype: TetraModulType ) → None
# [SOURce<HW>]:BB:TETRa:MTYPe
# get:
value: enums.TetraModulType = driver.source.bb.tetra.get_mtype()
# set:
driver.source.bb.tetra.set_mtype(mtype = enums.TetraModulType.PHASe)

(for Test Model set to User Defined) Determines the modulation type, Phase or QAM.

Parameters:

mtype – PHASe | QAM

  • PHASe: The T2 test signal is a pi/4-DQPSK modulated continuous radio signal.

  • QAM: The T2 test signal is 4-QAM, 16-QAM or 64-QAM modulated and spans a bandwidth of 25kHz, 50kHz, 100kHz or 150kHz.

preset ( ) → None
preset_with_opc ( opc_timeout_ms: int = -1 ) → None
# [SOURce<HW>]:BB:TETRa:PRESet
driver.source.bb.tetra.preset()
driver.source.bb.tetra.preset_with_opc(opc_timeout_ms = 3000)

Sets the parameters of the digital standard to their (*RST values specified for the commands) . Not affected is the state set with the method RsSmw.source.bb.tetra.state() .

preset_with_opc() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

get_slength ( ) → int
set_slength ( slength: int ) → None
# [SOURce<HW>]:BB:TETRa:SLENgth
# get:
value: int = driver.source.bb.tetra.get_slength()
# set:
driver.source.bb.tetra.set_slength(slength = 1)

Selects the sequence length of the arbitrary waveform file in the number of multiframes. One multiframe is the minimum sequence length for a T1 signal.

Parameters:

slength – integer

get_state ( ) → bool
set_state ( state: bool ) → None
# [SOURce<HW>]:BB:TETRa:STATe
# get:
value: bool = driver.source.bb.tetra.get_state()
# set:
driver.source.bb.tetra.set_state(state = False)

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

Parameters:

state – 1 | ON | 0| OFF

get_tmode ( ) → TetraTestMode
set_tmode ( tmode: TetraTestMode ) → None
# [SOURce<HW>]:BB:TETRa:TMODe
# get:
value: enums.TetraTestMode = driver.source.bb.tetra.get_tmode()
# set:
driver.source.bb.tetra.set_tmode(tmode = enums.TetraTestMode.T1)

Selects the test mode. Several settings depend on the selected test mode.

Parameters:

tmode – T1 | T4 | USER | T2 | T3

get_version ( ) → str
# [SOURce<HW>]:BB:TETRa:VERSion
value: str = driver.source.bb.tetra.get_version()

Queries the tetra standard version.

Returns:

version: string

Cloning the Group

# Create a copy of the original group, that exists independently
tetra_copy = driver.source.bb.tetra.clone()

Subgroups