NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerOutputSource.Mode Property

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

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: DCPowerSourceMode
The default value is SinglePoint.

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe property was accessed after the associated NIDCPower object was disposed.
SelectorNameExceptionThe property was accessed with an unknown channel name.
IviCDriverExceptionThe 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.

Note Note
If you specify a channel name when accessing this property, the session must be initialized with the NIDCPower(String, Boolean, String) constructor.
Note Note
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

See Also

Log in to get a better experience