NI-SCOPE .NET Class Library Help

Table of Contents

ScopeDriverUtility.GetChannelName Method

  • Updated2023-09-06
  • 1 minute(s) read
ScopeDriverUtility.GetChannelName Method

ScopeDriverUtilityGetChannelName Method

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

Namespace:  NationalInstruments.ModularInstruments.NIScope
Assembly:  NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023

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 NIScope or ScopeDriverUtility object was disposed.
OutOfRangeException The indicated index is out of range (less than zero or greater than the number of channels in the session)

Remarks

See Also

Log in to get a better experience