DOChannelCollection Class
- Updated2023-02-21
- 4 minute(s) read
Contains the collection of digital output channels for a Task.
Inheritance Hierarchy
SystemObject
SystemMarshalByRefObject
NationalInstruments.DAQmxDOChannelCollection
SystemMarshalByRefObject
NationalInstruments.DAQmxDOChannelCollection
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public class DOChannelCollection : MarshalByRefObject, ICollection
Public Class DOChannelCollection Inherits MarshalByRefObject Implements ICollection
The DOChannelCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| All | Gets a DOChannel that operates on all of the channels in the task. | |
| Count | Gets the number of elements in the collection. | |
| ItemInt64 | Gets the DOChannel at the specified index. In Visual C#, this property is the indexer. | |
| ItemString | Gets the DOChannel with the specified virtual channel name. In Visual C#, this property is the indexer. |
Methods
| Name | Description | |
|---|---|---|
| CreateChannel | Creates a DOChannel to generate digital signals. This method adds one or more channels to the DOChannelCollection.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that you can use to iterate through the collection. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | Returns a string representation of the object. (Overrides ObjectToString.) |
Remarks
| Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.