NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

DOChannelCollection.Item Property (String)

DOChannelCollection.Item Property (String)

DOChannelCollectionItem Property (String)

Gets the DOChannel with the specified virtual channel name. In Visual C#, this property is the indexer.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public virtual DOChannel this[
	string virtualChannelName
] { get; }
Public Overridable ReadOnly Default Property Item ( 
	virtualChannelName As String
) As DOChannel
	Get

Parameters

virtualChannelName
Type: SystemString
One or more virtual channel names that the retrieved DOChannel operates on.

Property Value

Type: DOChannel
The specified DOChannel.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

By using a comma or colon in virtualChannelName, you can retrieve more than one channel at a time. For more information refer to Channels.

See Also

Was this information helpful?