Returns the channel name(s) from a one-based index. Use the Count property to determine the upper bound of valid values for the index.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public string GetChannelName(int index)

Parameters

NameTypeDescription
indexint

Specifies which channel name(s) to return.

Returns

Returns a System.String for the channel name that corresponds to the index.

Exceptions

TypeDescription
System.ObjectDisposedException

The GetChannelName method was called after the associated NIDCPower object was disposed.

Ivi.Driver.OutOfRangeException

The indicated index is out of range (less than zero or greater than the number of channels in the session)

Ivi.Driver.IviCDriverException

The indicated index is zero.