NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalDriverUtility.GetChannelName Method

  • Updated2023-11-24
  • 1 minute(s) read
DigitalDriverUtility.GetChannelName Method

DigitalDriverUtilityGetChannelName Method

Returns the channel name given a Int32 one-based index.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public string GetChannelName(
	int index
)
Public Function GetChannelName ( 
	index As Integer
) As String

Parameters

index
Type: SystemInt32
One-based index for the desired channel in the session. Valid values are from 1 to the number of channels in the session

Return Value

Type: String
Returns a String populated with the channel name.

Exceptions

ExceptionCondition
ObjectDisposedException The GetChannelName(Int32) method was called after the associated NIDigital or DigitalDriverUtility object was disposed.
ArgumentException The indicated index is out of range (less than one or greater than the number of channels in the session)

See Also

Log in to get a better experience