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
class TetraCls[source]

Tetra commands group definition. 108 total commands, 11 Subgroups, 9 group commands

get_ctype() RsSmw.enums.TetraChnnlType[source]
# SCPI: [SOURce<HW>]:BB:TETRa:CTYPe
value: enums.TetraChnnlType = driver.source.bb.tetra.get_ctype()

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

return

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

get_db_type() RsSmw.enums.TetraDwnBrstType[source]
# SCPI: [SOURce<HW>]:BB:TETRa:DBTYpe
value: enums.TetraDwnBrstType = driver.source.bb.tetra.get_db_type()

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

return

db_type: CONTinuous| DCONtinuous

get_ldirection() RsSmw.enums.UpDownDirection[source]
# SCPI: [SOURce<HW>]:BB:TETRa:LDIRection
value: enums.UpDownDirection = driver.source.bb.tetra.get_ldirection()

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

return

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() RsSmw.enums.TetraModulType[source]
# SCPI: [SOURce<HW>]:BB:TETRa:MTYPe
value: enums.TetraModulType = driver.source.bb.tetra.get_mtype()

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

return

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.

get_slength() int[source]
# SCPI: [SOURce<HW>]:BB:TETRa:SLENgth
value: int = driver.source.bb.tetra.get_slength()

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.

return

slength: integer Range: 1 to depends on carrier bandwidth

get_state() bool[source]
# SCPI: [SOURce<HW>]:BB:TETRa:STATe
value: bool = driver.source.bb.tetra.get_state()

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

return

state: 1| ON| 0| OFF

get_tmode() RsSmw.enums.TetraTestMode[source]
# SCPI: [SOURce<HW>]:BB:TETRa:TMODe
value: enums.TetraTestMode = driver.source.bb.tetra.get_tmode()

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

return

tmode: T1| T4| USER| T2| T3

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

Queries the tetra standard version.

return

version: string

preset() None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:PRESet
driver.source.bb.tetra.preset()

Sets the parameters of the digital standard to their (*RST values specified for the commands) . Not affected is the state set with the command [:SOURce<hw>]:BB:TETRa:STATe.

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

Sets the parameters of the digital standard to their (*RST values specified for the commands) . Not affected is the state set with the command [:SOURce<hw>]:BB:TETRa:STATe.

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

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

set_ctype(ctype: RsSmw.enums.TetraChnnlType) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:CTYPe
driver.source.bb.tetra.set_ctype(ctype = enums.TetraChnnlType.CH0)

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

param ctype

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

set_db_type(db_type: RsSmw.enums.TetraDwnBrstType) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:DBTYpe
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.

param db_type

CONTinuous| DCONtinuous

set_ldirection(ldirection: RsSmw.enums.UpDownDirection) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:LDIRection
driver.source.bb.tetra.set_ldirection(ldirection = enums.UpDownDirection.DOWN)

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

param 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.

set_mtype(mtype: RsSmw.enums.TetraModulType) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:MTYPe
driver.source.bb.tetra.set_mtype(mtype = enums.TetraModulType.PHASe)

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

param 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.

set_slength(slength: int) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:SLENgth
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.

param slength

integer Range: 1 to depends on carrier bandwidth

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:STATe
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.

param state

1| ON| 0| OFF

set_tmode(tmode: RsSmw.enums.TetraTestMode) None[source]
# SCPI: [SOURce<HW>]:BB:TETRa:TMODe
driver.source.bb.tetra.set_tmode(tmode = enums.TetraTestMode.T1)

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

param tmode

T1| T4| USER| T2| T3

Cloning the Group

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

Subgroups