Channel<Channel>

RepCap Settings

# Range: Ch1 .. Ch64
rc = driver.sense.power.achannel.spacing.channel.repcap_channel_get()
driver.sense.power.achannel.spacing.channel.repcap_channel_set(repcap.Channel.Ch1)

SCPI Command :

[SENSe]:POWer:ACHannel:SPACing:CHANnel<ch>
class ChannelCls[source]

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

get(channel=Channel.Default) float[source]
# SCPI: [SENSe]:POWer:ACHannel:SPACing:CHANnel<ch>
value: float = driver.sense.power.achannel.spacing.channel.get(channel = repcap.Channel.Default)

Defines the distance between transmission channels. If you set the channel spacing for a transmission channel, the FSW sets the spacing of the lower transmission channels to the same value, but not the other way round. The command works hierarchically: to set a distance between the 2nd and 3rd and 3rd and 4th channel, you have to set the spacing between the 2nd and 3rd channel first.

param channel

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

return

spacing: Range: 14 kHz to 2000 MHz, Unit: Hz

set(spacing: float, channel=Channel.Default) None[source]
# SCPI: [SENSe]:POWer:ACHannel:SPACing:CHANnel<ch>
driver.sense.power.achannel.spacing.channel.set(spacing = 1.0, channel = repcap.Channel.Default)

Defines the distance between transmission channels. If you set the channel spacing for a transmission channel, the FSW sets the spacing of the lower transmission channels to the same value, but not the other way round. The command works hierarchically: to set a distance between the 2nd and 3rd and 3rd and 4th channel, you have to set the spacing between the 2nd and 3rd channel first.

param spacing

Range: 14 kHz to 2000 MHz, Unit: Hz

param channel

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.sense.power.achannel.spacing.channel.clone()