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:OUTPath
[SOURce<HW>]:BB:OFDM:PRESet
[SOURce<HW>]:BB:OFDM:RGUard
[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
Commands in total: 114
Subgroups: 16
Direct child commands: 18
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

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_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_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

preset() None[source]
# [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]
# [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 RsSmbv.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_acp_length(cp_length: int) None[source]
# [SOURce<HW>]:BB:OFDM:ACPLength
driver.source.bb.ofdm.set_acp_length(cp_length = 1)

For f-OFDM/OFDM, enables additional alternative CP.

Parameters:

cp_length – integer Range: 0 to 8192

set_acp_symbols(cp_symbols: int) None[source]
# [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.

Parameters:

cp_symbols – integer Range: 0 to 8192

set_cp_symbols(cp_symbols: int) None[source]
# [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.

Parameters:

cp_symbols – integer Range: 0 to 8192

set_dc_mode(dc_mode: C5GdcMode) None[source]
# [SOURce<HW>]:BB:OFDM:DCMode
driver.source.bb.ofdm.set_dc_mode(dc_mode = enums.C5GdcMode.PUNC)

Sets the DC subcarrier mode.

Parameters:

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: C5Gmod) None[source]
# [SOURce<HW>]:BB:OFDM:MODulation
driver.source.bb.ofdm.set_modulation(mod_type = enums.C5Gmod.FBMC)

Selects the modulation type.

Parameters:

mod_type – UFMC | FBMC | GFDM | FOFDm | OFDM

set_nalloc(no_of_alloc: int) None[source]
# [SOURce<HW>]:BB:OFDM:NALLoc
driver.source.bb.ofdm.set_nalloc(no_of_alloc = 1)

Sets the number of scheduled allocations.

Parameters:

no_of_alloc – integer Range: 0 to 500

set_noccupied(num_occ_sc: int) None[source]
# [SOURce<HW>]:BB:OFDM:NOCCupied
driver.source.bb.ofdm.set_noccupied(num_occ_sc = 1)

Sets the number of occupied subcarriers.

Parameters:

num_occ_sc – integer Range: 1 to 13107

set_nsubcarriers(no_of_sub_carr: int) None[source]
# [SOURce<HW>]:BB:OFDM:NSUBcarriers
driver.source.bb.ofdm.set_nsubcarriers(no_of_sub_carr = 1)

Sets the number of available subcarriers.

Parameters:

no_of_sub_carr – integer Range: 64 to 16384

set_out_path(k_114_output_path: str) None[source]
# [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’.

Parameters:

k_114_output_path – string

set_sc_space(sub_car_sp: float) None[source]
# [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.

Parameters:

sub_car_sp – float Range: 0.001 to 2, Unit: MHz

set_seq_length(seq_len: int) None[source]
# [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.

Parameters:

seq_len – integer Range: 1 to 1000

set_state(state: bool) None[source]
# [SOURce<HW>]:BB:OFDM:STATe
driver.source.bb.ofdm.set_state(state = False)

Activates the standard.

Parameters:

state – 1 | ON | 0| OFF

Cloning the Group

# Create a copy of the original group, that exists independently
ofdm_copy = driver.source.bb.ofdm.clone()

Subgroups