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]
# [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 Range: 0 to 8192
- get_acp_symbols() int[source]
# [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 Range: 0 to 8192
- get_bw_occupied() float[source]
# [SOURce<HW>]:BB:OFDM:BWOCcupied value: float = driver.source.bb.ofdm.get_bw_occupied()
Queries the occupied bandwidth.
- Returns:
occ_bw: float Range: 0.001 to 1000, Unit: MHz
- get_cp_symbols() int[source]
# [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 Range: 0 to 8192
- get_dc_mode() C5GdcMode[source]
# [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]
# [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 Range: 0 to 1000
- get_modulation() C5Gmod[source]
# [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]
# [SOURce<HW>]:BB:OFDM:NALLoc value: int = driver.source.bb.ofdm.get_nalloc()
Sets the number of scheduled allocations.
- Returns:
no_of_alloc: integer Range: 0 to 500
- get_noccupied() int[source]
# [SOURce<HW>]:BB:OFDM:NOCCupied value: int = driver.source.bb.ofdm.get_noccupied()
Sets the number of occupied subcarriers.
- Returns:
num_occ_sc: integer Range: 1 to 13107
- get_nsubcarriers() int[source]
# [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 Range: 64 to 16384
- get_offset() int[source]
# [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 Range: 0 to 2399
- get_out_path() str[source]
# [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
- get_rguard() int[source]
# [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 Range: 0 to 1000
- get_rsamples() int[source]
# [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 Range: 1 to 2400
- get_sampling() float[source]
# [SOURce<HW>]:BB:OFDM:SAMPling value: float = driver.source.bb.ofdm.get_sampling()
Queries the sampling rate.
- Returns:
samp_rate: float Range: 0.001 to 1000, Unit: MHz
- get_sc_space() float[source]
# [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 Range: 0.001 to 2, Unit: MHz
- get_seq_length() int[source]
# [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 Range: 1 to 1000
- get_state() bool[source]
# [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]
# [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 Range: 1 to 16384
- get_zsamples() int[source]
# [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 Range: 0 to 16384
- preset() None[source]
# [SOURce<HW>]:BB:OFDM:PRESet driver.source.bb.ofdm.preset()
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(opc_timeout_ms: int = -1) None[source]
# [SOURce<HW>]:BB:OFDM:PRESet driver.source.bb.ofdm.preset_with_opc()
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.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.
Cloning the Group
# Create a copy of the original group, that exists independently
ofdm_copy = driver.source.bb.ofdm.clone()
Subgroups