Ofdm#
SCPI Commands :
- [SOURce<HW>]:BB:OFDM:ACPLength
- [SOURce<HW>]:BB:OFDM:ACPSymbols
- [SOURce<HW>]:BB:OFDM:BWOCcupied
- [SOURce<HW>]:BB:OFDM:CPSYmbols
- [SOURce<HW>]:BB:OFDM:DCMode
- [SOURce<HW>]:BB:OFDM:LGUard
- [SOURce<HW>]:BB:OFDM:MODulation
- [SOURce<HW>]:BB:OFDM:NALLoc
- [SOURce<HW>]:BB:OFDM:NOCCupied
- [SOURce<HW>]:BB:OFDM:NSUBcarriers
- [SOURce<HW>]:BB:OFDM:OFFSet
- [SOURce<HW>]:BB:OFDM:OUTPath
- [SOURce<HW>]:BB:OFDM:PRESet
- [SOURce<HW>]:BB:OFDM:RGUard
- [SOURce<HW>]:BB:OFDM:RSAMples
- [SOURce<HW>]:BB:OFDM:SAMPling
- [SOURce<HW>]:BB:OFDM:SCSPace
- [SOURce<HW>]:BB:OFDM:SEQLength
- [SOURce<HW>]:BB:OFDM:STATe
- [SOURce<HW>]:BB:OFDM:SUBCarriers
- [SOURce<HW>]:BB:OFDM:ZSAMples
- Commands in total: 122Subgroups: 16Direct child commands: 21
- get_acp_length ( ) int
# [SOURce<HW>]:BB:OFDM:ACPLength value: int = driver.source.bb.ofdm.get_acp_length()For f-OFDM/OFDM, enables additional alternative CP.
- Returns:
cp_length: integer
- get_acp_symbols ( ) int
# [SOURce<HW>]:BB:OFDM:ACPSymbols value: int = driver.source.bb.ofdm.get_acp_symbols()For f-OFDM/OFDM, defines number of symbols on that the cyclic prefix/the alternative cyclic prefix is applied.
- Returns:
cp_symbols: integer
- get_bw_occupied ( ) float
# [SOURce<HW>]:BB:OFDM:BWOCcupied value: float = driver.source.bb.ofdm.get_bw_occupied()Queries the occupied bandwidth.
- Returns:
occ_bw: float
- get_cp_symbols ( ) int
# [SOURce<HW>]:BB:OFDM:CPSYmbols value: int = driver.source.bb.ofdm.get_cp_symbols()For f-OFDM/OFDM, defines number of symbols on that the cyclic prefix/the alternative cyclic prefix is applied.
- Returns:
cp_symbols: integer
- get_dc_mode ( ) C5GdcMode
# [SOURce<HW>]:BB:OFDM:DCMode value: enums.C5GdcMode = driver.source.bb.ofdm.get_dc_mode()Sets the DC subcarrier mode.
- Returns:
dc_mode: UTIL | PUNC | SKIP
UTIL: Uses the DC subcarrier for all allocations.
PUNC: Replaces the DC subcarrier by zeroes for all allocations.
SKIP: Skips the DC subcarrier in the discrete Fourier transformation (DFT) .
- get_lguard ( ) int
# [SOURce<HW>]:BB:OFDM:LGUard value: int = driver.source.bb.ofdm.get_lguard()Queries the number of left guard subcarriers.
- Returns:
left_guard_sc: integer
- get_modulation ( ) C5Gmod
# [SOURce<HW>]:BB:OFDM:MODulation value: enums.C5Gmod = driver.source.bb.ofdm.get_modulation()Selects the modulation type.
- Returns:
mod_type: UFMC | FBMC | GFDM | FOFDm | OFDM
UFMC: Universal Filtered Multi-Carrier modulation, see ‘UFMC’.
FBMC: Filter Bank Multi-Carrier modulation, see ‘FBMC’.
GFDM: Generalized Frequency Division Multiplexing, see ‘GFDM’.
FOFDm: Filtered-OFDM modulation, see ‘f-OFDM’.
OFDM: Orthogonal Frequency-Division Multiplexing modulation, see ‘OFDM’.
- get_nalloc ( ) int
# [SOURce<HW>]:BB:OFDM:NALLoc value: int = driver.source.bb.ofdm.get_nalloc()Sets the number of scheduled allocations.
- Returns:
no_of_alloc: integer
- get_noccupied ( ) int
# [SOURce<HW>]:BB:OFDM:NOCCupied value: int = driver.source.bb.ofdm.get_noccupied()Sets the number of occupied subcarriers.
- Returns:
num_occ_sc: integer
- get_nsubcarriers ( ) int
# [SOURce<HW>]:BB:OFDM:NSUBcarriers value: int = driver.source.bb.ofdm.get_nsubcarriers()Sets the number of available subcarriers.
- Returns:
no_of_sub_carr: integer
- get_offset ( ) int
# [SOURce<HW>]:BB:OFDM:OFFSet value: int = driver.source.bb.ofdm.get_offset()Requires OFDM modulation type: SOURce1:BB:OFDM:MODulation OFDM Sets the symbol offset that is the number of skipped symbols before inserting the zero padding samples. The maximum offset equals the sequence length minus one symbol, see method
RsSmw.source.bb.ofdm.seq_length().- Returns:
offset: integer
- get_out_path ( ) str
# [SOURce<HW>]:BB:OFDM:OUTPath value: str = driver.source.bb.ofdm.get_out_path()Specifies the output path and output file of the exported OFDM signal generation settings. By default, the output path is /var/user/K114-Export and the output file is Exported_K114_settings_K96.xml. See also Example ‘Default Exported_K114_settings_K96.xml file’.
- Returns:
k_114_output_path: string
- preset ( ) None
- preset_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce<HW>]:BB:OFDM:PRESet driver.source.bb.ofdm.preset() driver.source.bb.ofdm.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:OFDM: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_rguard ( ) int
# [SOURce<HW>]:BB:OFDM:RGUard value: int = driver.source.bb.ofdm.get_rguard()Queries the number of right guard subcarriers.
- Returns:
right_guard_sc: integer
- get_rsamples ( ) int
# [SOURce<HW>]:BB:OFDM:RSAMples value: int = driver.source.bb.ofdm.get_rsamples()Requires OFDM modulation type: SOURce1:BB:OFDM:MODulation OFDM Sets the repetition of inserted zero samples. This repetition defines the number of symbols between repeating zero samples. The maximum number of repetitions equals the sequence length, see method
RsSmw.source.bb.ofdm.seq_length().- Returns:
rep_for_samples: integer
- get_sampling ( ) float
# [SOURce<HW>]:BB:OFDM:SAMPling value: float = driver.source.bb.ofdm.get_sampling()Queries the sampling rate.
- Returns:
samp_rate: float
- get_sc_space ( ) float
# [SOURce<HW>]:BB:OFDM:SCSPace value: float = driver.source.bb.ofdm.get_sc_space()Sets the frequency distance between the carrier frequencies of the subcarriers.
- Returns:
sub_car_sp: float
- get_seq_length ( ) int
# [SOURce<HW>]:BB:OFDM:SEQLength value: int = driver.source.bb.ofdm.get_seq_length()Sets the sequence length of the signal in number of symbols.
- Returns:
seq_len: integer
- get_state ( ) bool
# [SOURce<HW>]:BB:OFDM:STATe value: bool = driver.source.bb.ofdm.get_state()Activates the standard.
- Returns:
state: 1 | ON | 0| OFF
- get_subcarriers ( ) int
# [SOURce<HW>]:BB:OFDM:SUBCarriers value: int = driver.source.bb.ofdm.get_subcarriers()Queries the number of subcarriers per subband.
- Returns:
subc_per_subband: integer
- get_zsamples ( ) int
# [SOURce<HW>]:BB:OFDM:ZSAMples value: int = driver.source.bb.ofdm.get_zsamples()Requires OFDM modulation type: SOURce1:BB:OFDM:MODulation OFDM Sets the number of samples for zero padding. The instrument inserts these zero samples before the modulation symbols. See also ‘Padding with zero samples’. The maximum number equals the total number of subcarriers minus one sample, see method
RsSmw.source.bb.ofdm.nsubcarriers().- Returns:
zero_samples: integer
Cloning the Group
# Create a copy of the original group, that exists independently
ofdm_copy = driver.source.bb.ofdm.clone()
Subgroups