CpLength<Channel>

RepCap Settings

# Range: Nr1 .. Nr64
rc = driver.source.bb.ofdm.cpLength.repcap_channel_get()
driver.source.bb.ofdm.cpLength.repcap_channel_set(repcap.Channel.Nr1)

SCPI Command :

[SOURce<HW>]:BB:OFDM:CPLength<CH>
class CpLengthCls[source]

CpLength commands group definition. 1 total commands, 0 Subgroups, 1 group commands Repeated Capability: Channel, default value after init: Channel.Nr1

get(channel=Channel.Default) int[source]
# SCPI: [SOURce<HW>]:BB:OFDM:CPLength<CH>
value: int = driver.source.bb.ofdm.cpLength.get(channel = repcap.Channel.Default)

Sets the cyclic prefix length as number of samples. The maximum length equals the total number of sucarriers: [:SOURce<hw>]:BB:OFDM:NSUBcarriers

param channel

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘CpLength’)

return

cp_length: integer Range: 0 to depends on settings

set(cp_length: int, channel=Channel.Default) None[source]
# SCPI: [SOURce<HW>]:BB:OFDM:CPLength<CH>
driver.source.bb.ofdm.cpLength.set(cp_length = 1, channel = repcap.Channel.Default)

Sets the cyclic prefix length as number of samples. The maximum length equals the total number of sucarriers: [:SOURce<hw>]:BB:OFDM:NSUBcarriers

param cp_length

integer Range: 0 to depends on settings

param channel

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘CpLength’)

Cloning the Group

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