Voltage<Voltage>

SCPI Command :

POWer:SOURce:VOLTage<*>
Commands in total: 1
Subgroups: 0
Direct child commands: 1

Repeated Capability Setting:

# Range: Nr1 .. Nr4

driver.power.source.voltage.repcap_voltage_set(repcap.Voltage.Nr1)
get(voltage=Voltage.Default) Channel[source]
# POWer:SOURce:VOLTage<*>
value: enums.Channel = driver.power.source.voltage.get(voltage = repcap.Voltage.Default)

Sets the channel for the voltage source input.

Parameters:

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

Returns:

voltage_source: CHAN1 = CHANnel1, CHAN2 = CHANnel2, CHAN3 = CHANnel3, CHAN4 = CHANnel4

set(voltage_source: Channel, voltage=Voltage.Default) None[source]
# POWer:SOURce:VOLTage<*>
driver.power.source.voltage.set(voltage_source = enums.Channel.CHAN1, voltage = repcap.Voltage.Default)

Sets the channel for the voltage source input.

Parameters:
  • voltage_source – CHAN1 = CHANnel1, CHAN2 = CHANnel2, CHAN3 = CHANnel3, CHAN4 = CHANnel4

  • voltage – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Voltage’)

Cloning the Group

# Create a copy of the original group, that exists independently
voltage_copy = driver.power.source.voltage.clone()