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
- class OfdmCls[source]
Ofdm commands group definition. 122 total commands, 16 Subgroups, 21 group commands
- get_acp_length() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:ACPLength value: int = driver.source.bb.ofdm.get_acp_length()
For f-OFDM/OFDM, enables additional alternative CP.
- return
cp_length: integer Range: 0 to 8192
- get_acp_symbols() int [source]
# SCPI: [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.
- return
cp_symbols: integer Range: 0 to 8192
- get_bw_occupied() float [source]
# SCPI: [SOURce<HW>]:BB:OFDM:BWOCcupied value: float = driver.source.bb.ofdm.get_bw_occupied()
Queries the occupied bandwidth.
- return
occ_bw: float Range: 0.001 to 1000, Unit: MHz
- get_cp_symbols() int [source]
# SCPI: [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.
- return
cp_symbols: integer Range: 0 to 8192
- get_dc_mode() RsSmw.enums.C5GdcMode [source]
# SCPI: [SOURce<HW>]:BB:OFDM:DCMode value: enums.C5GdcMode = driver.source.bb.ofdm.get_dc_mode()
Sets the DC subcarrier mode.
- return
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]
# SCPI: [SOURce<HW>]:BB:OFDM:LGUard value: int = driver.source.bb.ofdm.get_lguard()
Queries the number of left guard subcarriers.
- return
left_guard_sc: integer Range: 0 to 1000
- get_modulation() RsSmw.enums.C5Gmod [source]
# SCPI: [SOURce<HW>]:BB:OFDM:MODulation value: enums.C5Gmod = driver.source.bb.ofdm.get_modulation()
Selects the modulation type.
- return
mod_type: UFMC| FBMC| GFDM| FOFDm| OFDM
- get_nalloc() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:NALLoc value: int = driver.source.bb.ofdm.get_nalloc()
Sets the number of scheduled allocations.
- return
no_of_alloc: integer Range: 0 to 500
- get_noccupied() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:NOCCupied value: int = driver.source.bb.ofdm.get_noccupied()
Sets the number of occupied subcarriers.
- return
num_occ_sc: integer Range: 1 to 13107
- get_nsubcarriers() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:NSUBcarriers value: int = driver.source.bb.ofdm.get_nsubcarriers()
Sets the number of available subcarriers.
- return
no_of_sub_carr: integer Range: 64 to 16384
- get_offset() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:OFFSet value: int = driver.source.bb.ofdm.get_offset()
No command help available
- return
offset: No help available
- get_out_path() str [source]
# SCPI: [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’.
- return
k_114_output_path: string
- get_rguard() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:RGUard value: int = driver.source.bb.ofdm.get_rguard()
Queries the number of right guard subcarriers.
- return
right_guard_sc: integer Range: 0 to 1000
- get_rsamples() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:RSAMples value: int = driver.source.bb.ofdm.get_rsamples()
No command help available
- return
rep_for_samples: No help available
- get_sampling() float [source]
# SCPI: [SOURce<HW>]:BB:OFDM:SAMPling value: float = driver.source.bb.ofdm.get_sampling()
Queries the sampling rate.
- return
samp_rate: float Range: 0.001 to 1000, Unit: MHz
- get_sc_space() float [source]
# SCPI: [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.
- return
sub_car_sp: float Range: 0.001 to 2, Unit: MHz
- get_seq_length() int [source]
# SCPI: [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.
- return
seq_len: integer Range: 1 to 1000
- get_state() bool [source]
# SCPI: [SOURce<HW>]:BB:OFDM:STATe value: bool = driver.source.bb.ofdm.get_state()
Activates the standard.
- return
state: 1| ON| 0| OFF
- get_subcarriers() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:SUBCarriers value: int = driver.source.bb.ofdm.get_subcarriers()
Queries the number of subcarriers per subband.
- return
subc_per_subband: integer Range: 1 to 16384
- get_zsamples() int [source]
# SCPI: [SOURce<HW>]:BB:OFDM:ZSAMples value: int = driver.source.bb.ofdm.get_zsamples()
No command help available
- return
zero_samples: No help available
- preset() None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:PRESet driver.source.bb.ofdm.preset()
Sets the parameters of the digital standard to their default values (*RST values 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]
# SCPI: [SOURce<HW>]:BB:OFDM:PRESet driver.source.bb.ofdm.preset_with_opc()
Sets the parameters of the digital standard to their default values (*RST values 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.
- param opc_timeout_ms
Maximum time to wait in milliseconds, valid only for this call.
- set_acp_length(cp_length: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:ACPLength driver.source.bb.ofdm.set_acp_length(cp_length = 1)
For f-OFDM/OFDM, enables additional alternative CP.
- param cp_length
integer Range: 0 to 8192
- set_acp_symbols(cp_symbols: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:ACPSymbols driver.source.bb.ofdm.set_acp_symbols(cp_symbols = 1)
For f-OFDM/OFDM, defines number of symbols on that the cyclic prefix/the alternative cyclic prefix is applied.
- param cp_symbols
integer Range: 0 to 8192
- set_cp_symbols(cp_symbols: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:CPSYmbols driver.source.bb.ofdm.set_cp_symbols(cp_symbols = 1)
For f-OFDM/OFDM, defines number of symbols on that the cyclic prefix/the alternative cyclic prefix is applied.
- param cp_symbols
integer Range: 0 to 8192
- set_dc_mode(dc_mode: RsSmw.enums.C5GdcMode) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:DCMode driver.source.bb.ofdm.set_dc_mode(dc_mode = enums.C5GdcMode.PUNC)
Sets the DC subcarrier mode.
- param 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) .
- set_modulation(mod_type: RsSmw.enums.C5Gmod) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:MODulation driver.source.bb.ofdm.set_modulation(mod_type = enums.C5Gmod.FBMC)
Selects the modulation type.
- param mod_type
UFMC| FBMC| GFDM| FOFDm| OFDM
- set_nalloc(no_of_alloc: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:NALLoc driver.source.bb.ofdm.set_nalloc(no_of_alloc = 1)
Sets the number of scheduled allocations.
- param no_of_alloc
integer Range: 0 to 500
- set_noccupied(num_occ_sc: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:NOCCupied driver.source.bb.ofdm.set_noccupied(num_occ_sc = 1)
Sets the number of occupied subcarriers.
- param num_occ_sc
integer Range: 1 to 13107
- set_nsubcarriers(no_of_sub_carr: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:NSUBcarriers driver.source.bb.ofdm.set_nsubcarriers(no_of_sub_carr = 1)
Sets the number of available subcarriers.
- param no_of_sub_carr
integer Range: 64 to 16384
- set_offset(offset: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:OFFSet driver.source.bb.ofdm.set_offset(offset = 1)
No command help available
- param offset
No help available
- set_out_path(k_114_output_path: str) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:OUTPath driver.source.bb.ofdm.set_out_path(k_114_output_path = 'abc')
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’.
- param k_114_output_path
string
- set_rsamples(rep_for_samples: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:RSAMples driver.source.bb.ofdm.set_rsamples(rep_for_samples = 1)
No command help available
- param rep_for_samples
No help available
- set_sc_space(sub_car_sp: float) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:SCSPace driver.source.bb.ofdm.set_sc_space(sub_car_sp = 1.0)
Sets the frequency distance between the carrier frequencies of the subcarriers.
- param sub_car_sp
float Range: 0.001 to 2, Unit: MHz
- set_seq_length(seq_len: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:SEQLength driver.source.bb.ofdm.set_seq_length(seq_len = 1)
Sets the sequence length of the signal in number of symbols.
- param seq_len
integer Range: 1 to 1000
- set_state(state: bool) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:STATe driver.source.bb.ofdm.set_state(state = False)
Activates the standard.
- param state
1| ON| 0| OFF
- set_zsamples(zero_samples: int) None [source]
# SCPI: [SOURce<HW>]:BB:OFDM:ZSAMples driver.source.bb.ofdm.set_zsamples(zero_samples = 1)
No command help available
- param zero_samples
No help available
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.bb.ofdm.clone()
Subgroups