COChannelCollection Class
- Updated2023-02-21
- 4 minute(s) read
Contains the collection of counter/timer output channels for a Task.
Inheritance Hierarchy
SystemObject
SystemMarshalByRefObject
NationalInstruments.DAQmxCOChannelCollection
SystemMarshalByRefObject
NationalInstruments.DAQmxCOChannelCollection
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public class COChannelCollection : MarshalByRefObject, ICollection
Public Class COChannelCollection Inherits MarshalByRefObject Implements ICollection
The COChannelCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | All | Gets a COChannel that operates on all of the channels in the task. |
![]() | Count | Gets the number of elements in the collection. |
![]() | ItemInt64 | Gets the COChannel at the specified index. In Visual C#, this property is the indexer. |
![]() | ItemString | Gets the COChannel with the specified virtual channel name. In Visual C#, this property is the indexer. |
Methods
Name | Description | |
---|---|---|
![]() | 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.) |
![]() | CreatePulseChannelFrequency | Creates a COChannel to generate digital pulses defined by frequency and duty cycle. This method adds one or more channels to the COChannelCollection.
|
![]() | CreatePulseChannelTicks | Creates a COChannel to generate digital pulses defined by the number of timebase ticks that the pulse is at the high and low states. This method adds one or more channels to the COChannelCollection.
|
![]() | CreatePulseChannelTime | Creates a COChannel to generate digital pulses defined by the amount of time that the pulse is at the high and low states. This method adds one or more channels to the COChannelCollection.
|
![]() | 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.