Mode
- Updated2025-10-06
- 1 minute(s) read
Gets or sets whether to run a single output point or a sequence for the specified channel(s).
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public DCPowerSourceMode Mode { get; set; }
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, bool, 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.
The default value is SinglePoint.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The property was accessed after the associated NIDCPower object was disposed. |
| Ivi.Driver.SelectorNameException | The property was accessed with an unknown channel name. |
| Ivi.Driver.IviCDriverException | The underlying NI-DCPower driver returned an error. |