Polarity<Channel>

RepCap Settings

# Range: Nr1 .. Nr64
rc = driver.source.dm.polarity.repcap_channel_get()
driver.source.dm.polarity.repcap_channel_set(repcap.Channel.Nr1)

SCPI Command :

[SOURce<HW>]:DM:POLarity<CH>
class PolarityCls[source]

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

get(channel=Channel.Default) NormalInverted[source]
# SCPI: [SOURce<HW>]:DM:POLarity<CH>
value: enums.NormalInverted = driver.source.dm.polarity.get(channel = repcap.Channel.Default)

No command help available

param channel:

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

return:

polarity: No help available

set(polarity: NormalInverted, channel=Channel.Default) None[source]
# SCPI: [SOURce<HW>]:DM:POLarity<CH>
driver.source.dm.polarity.set(polarity = enums.NormalInverted.INVerted, channel = repcap.Channel.Default)

No command help available

param polarity:

No help available

param channel:

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

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.dm.polarity.clone()