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: 108Subgroups: 11Direct child commands: 9
- get_ctype() TetraChnnlType[source]
# [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.
- Returns:
ctype: CH0 | CH1 | CH2 | CH3 | CH4 | CH7 | CH8 | CH9 | CH10 | CH11 | CH21 | CH22 | CH23 | CH24 | CH25 | CH26 | CH27
- get_db_type() TetraDwnBrstType[source]
# [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.
- Returns:
db_type: CONTinuous | DCONtinuous
- get_ldirection() UpDownDirection[source]
# [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’.
- Returns:
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[source]
# [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.’
- Returns:
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]
# [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.
- Returns:
slength: integer Range: 1 to depends on carrier bandwidth
- get_state() bool[source]
# [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.
- Returns:
state: 1 | ON | 0| OFF
- get_tmode() TetraTestMode[source]
# [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.
- Returns:
tmode: T1 | T4 | USER | T2 | T3
- get_version() str[source]
# [SOURce<HW>]:BB:TETRa:VERSion value: str = driver.source.bb.tetra.get_version()
Queries the tetra standard version.
- Returns:
version: string
- preset() None[source]
# [SOURce<HW>]:BB:TETRa:PRESet driver.source.bb.tetra.preset()
Sets the parameters of the digital standard to their (
*RSTvalues specified for the commands) . Not affected is the state set with the methodRsSmw.source.bb.tetra.state().
- preset_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:BB:TETRa:PRESet driver.source.bb.tetra.preset_with_opc()
Sets the parameters of the digital standard to their (
*RSTvalues specified for the commands) . Not affected is the state set with the methodRsSmw.source.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.
- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- set_ctype(ctype: TetraChnnlType) None[source]
# [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.
- Parameters:
ctype – CH0 | CH1 | CH2 | CH3 | CH4 | CH7 | CH8 | CH9 | CH10 | CH11 | CH21 | CH22 | CH23 | CH24 | CH25 | CH26 | CH27
- set_db_type(db_type: TetraDwnBrstType) None[source]
# [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.
- Parameters:
db_type – CONTinuous | DCONtinuous
- set_ldirection(ldirection: UpDownDirection) None[source]
# [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’.
- 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.
- set_mtype(mtype: TetraModulType) None[source]
# [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.’
- 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.
- set_slength(slength: int) None[source]
# [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.
- Parameters:
slength – integer Range: 1 to depends on carrier bandwidth
- set_state(state: bool) None[source]
# [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.
- Parameters:
state – 1 | ON | 0| OFF
- set_tmode(tmode: TetraTestMode) None[source]
# [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.
- Parameters:
tmode – T1 | T4 | USER | T2 | T3
Cloning the Group
# Create a copy of the original group, that exists independently
tetra_copy = driver.source.bb.tetra.clone()
Subgroups