Current<PwrCurrent>
SCPI Command :
POWer:SOURce:CURRent<*>
- Commands in total: 1Subgroups: 0Direct child commands: 1
Repeated Capability Setting:
# Range: Nr1 .. Nr2 driver.power.source.current.repcap_pwrCurrent_set(repcap.PwrCurrent.Nr1)
- get(pwrCurrent=PwrCurrent.Default) Channel[source]
# POWer:SOURce:CURRent<*> value: enums.Channel = driver.power.source.current.get(pwrCurrent = repcap.PwrCurrent.Default)
Sets the channel for the current source.
- Parameters:
pwrCurrent – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Current’)
- Returns:
current_source: CHAN1 = CHANnel1, CHAN2 = CHANnel2, CHAN3 = CHANnel3, CHAN4 = CHANnel4
- set(current_source: Channel, pwrCurrent=PwrCurrent.Default) None[source]
# POWer:SOURce:CURRent<*> driver.power.source.current.set(current_source = enums.Channel.CHAN1, pwrCurrent = repcap.PwrCurrent.Default)
Sets the channel for the current source.
- Parameters:
current_source – CHAN1 = CHANnel1, CHAN2 = CHANnel2, CHAN3 = CHANnel3, CHAN4 = CHANnel4
pwrCurrent – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Current’)
Cloning the Group
# Create a copy of the original group, that exists independently
current_copy = driver.power.source.current.clone()