DCPowerOutputSource.Mode Property
- Updated2024-01-04
- 2 minute(s) read

DCPowerOutputSourceMode Property
Gets or sets whether to run a single output point or a sequence for the specified channel(s).
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public DCPowerSourceMode Mode { get; set; }
Public Property Mode As DCPowerSourceMode Get Set
Property Value
Type: DCPowerSourceModeThe default value is SinglePoint.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The property was accessed after the associated NIDCPower object was disposed. |
SelectorNameException | The property was accessed with an unknown channel name. |
IviCDriverException | The underlying NI-DCPower driver returned an error. |
Remarks
Refer to the Single Point Source Mode and Sequence Source Mode topics in the NI DC Power Supplies and SMUs Help for more information about source modes.
![]() |
---|
If you specify a channel name when accessing this property, the session must be initialized with the NIDCPower(String, Boolean, String) constructor. |
![]() |
---|
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively. |