Gsm#
SCPI Commands :
- [SOURce<HW>]:BB:GSM:FLENgth
- [SOURce<HW>]:BB:GSM:FONE
- [SOURce<HW>]:BB:GSM:FORMat
- [SOURce<HW>]:BB:GSM:ISLength
- [SOURce<HW>]:BB:GSM:MODE
- [SOURce<HW>]:BB:GSM:PRESet
- [SOURce<HW>]:BB:GSM:SMODe
- [SOURce<HW>]:BB:GSM:STATe
- Commands in total: 111Subgroups: 19Direct child commands: 8
- get_flength ( ) int
- set_flength ( flength: int ) None
# [SOURce<HW>]:BB:GSM:FLENgth # get: value: int = driver.source.bb.gsm.get_flength() # set: driver.source.bb.gsm.set_flength(flength = 1)
Sets the sequence length of the generated arbitrary waveform file in number of frames. This parameter applies to GSM modes Single or Double framed. For GSM mode Framed Double, this command is query only, since the length of the generated ARB file is determined by the parameter Frame Repetition (method
RsSmw.source.bb.gsm.frame.repetitions.set()) for both frames: Sequence Length = Frame Repetition of Frame 1 + Frame Repetition of Frame 2. For GSM mode (BB:GSM:MODE) set to Unframed, the length of the generated ARB file is set in symbols with the command [:SOURce<hw>]:BB:GSM:SLENgth.- Parameters:
flength – integer
- get_fone ( ) bool
- set_fone ( fone: bool ) None
# [SOURce<HW>]:BB:GSM:FONE # get: value: bool = driver.source.bb.gsm.get_fone() # set: driver.source.bb.gsm.set_fone(fone = False)
A modulating bit stream consisting of consecutive ones is used for inactive slots (according to GSM 05.04) . If this parameter is disabled, the inactive slots are filled in with 0.
- Parameters:
fone – 1 | ON | 0| OFF
- get_format_py ( ) GsmModTypeGsm
- set_format_py ( format_py: GsmModTypeGsm ) None
# [SOURce<HW>]:BB:GSM:FORMat # get: value: enums.GsmModTypeGsm = driver.source.bb.gsm.get_format_py() # set: driver.source.bb.gsm.set_format_py(format_py = enums.GsmModTypeGsm.FSK2)
The command selects the modulation type.
- Parameters:
format_py – MSK | FSK2
- get_is_length ( ) bool
- set_is_length ( is_length: bool ) None
# [SOURce<HW>]:BB:GSM:ISLength # get: value: bool = driver.source.bb.gsm.get_is_length() # set: driver.source.bb.gsm.set_is_length(is_length = False)
Selects constant slot length.
- Parameters:
is_length – For normal symbol rate mode: The command selects whether the 1/4 symbol of a GSM slot is ignored or compensated for by an extra symbol every 4th slot. For higher symbol rate mode: The command selects whether the 1/2 symbol of an average slot with a length of 187.5 symbols are ignored or compensated for by an extra symbol every second slot.
ON: In normal symbol rate mode, all slots are 156 symbols longIn higher symbol rate mode, all slots are 187 symbols long
OFF: In normal symbol rate mode, some slots are 157 symbols longIn higher symbol rate mode, some slots are 188 symbols long
- get_mode ( ) GsmMode
- set_mode ( mode: GsmMode ) None
# [SOURce<HW>]:BB:GSM:MODE # get: value: enums.GsmMode = driver.source.bb.gsm.get_mode() # set: driver.source.bb.gsm.set_mode(mode = enums.GsmMode.DOUBle)
The command selects GSM mode.
- Parameters:
mode – UNFRamed | SINGle | DOUBle | MULTiframe
UNFRamed: Modulation signal without slot and frame structure.
SINGle: Modulation signal consisting of one frame.
DOUBle: Modulation signal in which two frames are defined and then combined by some method into a single multiframe signal.
MULTiframe: Multiframe signal.
- preset ( ) None
- preset_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce<HW>]:BB:GSM:PRESet driver.source.bb.gsm.preset() driver.source.bb.gsm.preset_with_opc(opc_timeout_ms = 3000)Sets the parameters of the digital standard to their default values (
*RSTvalues specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:GSM:STATe.preset_with_opc()does the same aspreset(), but waits for the operation to complete before continuing further. Use theRsSmw.utilities.opc_timeoutto set the timeout value.- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- get_smode ( ) GsmSimMode
- set_smode ( smode: GsmSimMode ) None
# [SOURce<HW>]:BB:GSM:SMODe # get: value: enums.GsmSimMode = driver.source.bb.gsm.get_smode() # set: driver.source.bb.gsm.set_smode(smode = enums.GsmSimMode.AQPSk)
Selects the modulation signal for the mode Unframed (BB:GSM:MODE UNFR) . The modulation type and filter type are set in accordance with the selection. The available simulation modes depend on the selected symbol rate:
Normal Symbol Rate - GSM, EDGE (8PSK) , AQPSK, 16QAM and 32QAM
Higher Symbol Rate - HSR QPSK, HSR 16QAM and HSR 32QAM.
Note:Higher Symbol Rate Mode and Simulation Modes AQPSK, 16QAM, 32QAM, HSR QPSK, HSR 16QAM and HSR 32QAM are available for instruments equipped with option R&S SMW-K41 only.
- Parameters:
smode – GSM | EDGE | N16Qam | N32Qam | HQPSk | H16Qam | H32Qam | AQPSk
- get_state ( ) bool
- set_state ( state: bool ) None
# [SOURce<HW>]:BB:GSM:STATe # get: value: bool = driver.source.bb.gsm.get_state() # set: driver.source.bb.gsm.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
Cloning the Group
# Create a copy of the original group, that exists independently
gsm_copy = driver.source.bb.gsm.clone()
Subgroups