CIChannelCollection Class
- Updated2023-02-21
- 8 minute(s) read
Contains the collection of counter/timer input channels for a Task.
Inheritance Hierarchy
SystemObject
SystemMarshalByRefObject
NationalInstruments.DAQmxCIChannelCollection
SystemMarshalByRefObject
NationalInstruments.DAQmxCIChannelCollection
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public class CIChannelCollection : MarshalByRefObject, ICollection
Public Class CIChannelCollection Inherits MarshalByRefObject Implements ICollection
The CIChannelCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | All | Gets a CIChannel that operates on all of the channels in the task. |
![]() | Count | Gets the number of elements in the collection. |
![]() | ItemInt64 | Gets the CIChannel at the specified index in the collection. In Visual C#, this property is the indexer. |
![]() | ItemString | Gets the CIChannel with the specified virtual channel name. In Visual C#, this property is the indexer. |
Methods
Name | Description | |
---|---|---|
![]() | CreateAngularEncoderChannel(String, String, CIEncoderDecodingType, Boolean, Double, CIEncoderZIndexPhase, Int32, Double, CIAngularEncoderUnits) | Creates a CIChannel that uses an angular encoder to measure angular position. This method adds one channel to the CIChannelCollection.
|
![]() | CreateAngularEncoderChannel(String, String, CIEncoderDecodingType, Boolean, Double, CIEncoderZIndexPhase, Int32, Double, String) | Creates a CIChannel with the specified custom scale that uses an angular encoder to measure angular position. This method adds one channel to the CIChannelCollection.
|
![]() | CreateAngularVelocityChannel(String, String, Double, Double, Int64, CIVelocityEncoderType, CIVelocityAngularEncoderUnits) |
Creates a channel to measure angular velocity.
|
![]() | CreateAngularVelocityChannel(String, String, Double, Double, Int64, CIVelocityEncoderType, String) |
Creates a channel to measure angular velocity.
|
![]() | CreateAngularVelocityChannel(String, String, Double, Double, UInt32, CIVelocityEncoderType, CIVelocityAngularEncoderUnits) |
Creates a channel to measure angular velocity.
|
![]() | CreateAngularVelocityChannel(String, String, Double, Double, UInt32, CIVelocityEncoderType, String) |
Creates a channel to measure angular velocity.
|
![]() | CreateCountEdgesChannel | Creates a CIChannel to count the number of rising or falling edges of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreateDutyCycleChannel |
Creates CIChannel to duty cycle of a digital pulse.
|
![]() | CreateFrequencyChannel(String, String, Double, Double, CIFrequencyStartingEdge, CIFrequencyMeasurementMethod, Double, Int64, CIFrequencyUnits) | Creates a CIChannel to measure the frequency of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreateFrequencyChannel(String, String, Double, Double, CIFrequencyStartingEdge, CIFrequencyMeasurementMethod, Double, Int64, String) | Creates a CIChannel with the specified custom scale to measure the frequency of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreateGpsTimestampChannel(String, String, CIGpsSyncMethod, CITimestampUnits) | Creates a CIChannel that uses a special purpose counter to take a timestamp and synchronize that counter to a GPS receiver. This method adds one channel to the CIChannelCollection. |
![]() | CreateGpsTimestampChannel(String, String, CIGpsSyncMethod, String) | Creates a CIChannel that uses a special purpose counter to take a timestamp and synchronize that counter to a GPS receiver. This method adds one channel to the CIChannelCollection. |
![]() | CreateLinearEncoderChannel(String, String, CIEncoderDecodingType, Boolean, Double, CIEncoderZIndexPhase, Double, Double, CILinearEncoderUnits) | Creates a CIChannel that uses a linear encoder to measure linear position. This method adds one channel to the CIChannelCollection.
|
![]() | CreateLinearEncoderChannel(String, String, CIEncoderDecodingType, Boolean, Double, CIEncoderZIndexPhase, Double, Double, String) | Creates a CIChannel with the specified custom scale that uses a linear encoder to measure linear position. This method adds one channel to the CIChannelCollection. |
![]() | CreateLinearVelocityChannel(String, String, Double, Double, Double, CIVelocityEncoderType, CIVelocityLinearEncoderUnits) |
Creates a channel that uses a linear encoder to measure linear velocity.
|
![]() | CreateLinearVelocityChannel(String, String, Double, Double, Double, CIVelocityEncoderType, String) |
Creates a channel that uses a linear encoder to measure linear velocity.
|
![]() | 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.) |
![]() | CreatePeriodChannel(String, String, Double, Double, CIPeriodStartingEdge, CIPeriodMeasurementMethod, Double, Int64, CIPeriodUnits) | Creates a CIChannel to measure the period of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreatePeriodChannel(String, String, Double, Double, CIPeriodStartingEdge, CIPeriodMeasurementMethod, Double, Int64, String) | Creates a CIChannel with the specified custom scale to measure the period of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreatePulseChannelFrequency | Creates a CIChannel to measure digital pulses defined by frequency and duty cycle. This function adds one channel to the CIChannelCollection.
|
![]() | CreatePulseChannelTicks | Creates a CIChannel to measure digital pulses defined by the number of timebase ticks that the pulse is at the high and low states. This method adds one channel to the CIChannelCollection.
|
![]() | CreatePulseChannelTime | Creates a CIChannel to measure digital pulses defined by the amount of time the pulse is at a high and low state. This method adds one channel to the CIChannelCollection.
|
![]() | CreatePulseWidthChannel(String, String, Double, Double, CIPulseWidthStartingEdge, CIPulseWidthUnits) | Creates a CIChannel to measure the width of a digital pulse. This method adds one channel to the CIChannelCollection.
|
![]() | CreatePulseWidthChannel(String, String, Double, Double, CIPulseWidthStartingEdge, String) | Creates a CIChannel with the specified custom scale to measure the width of a digital pulse. This method adds one channel to the CIChannelCollection.
|
![]() | CreateSemiPeriodChannel(String, String, Double, Double, CISemiPeriodUnits) | Creates a CIChannel to measure the time between state transitions of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreateSemiPeriodChannel(String, String, Double, Double, String) | Creates a CIChannel with the specified custom scale to measure the time between state transitions of a digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreateTwoEdgeSeparationChannel(String, String, Double, Double, CITwoEdgeSeparationFirstEdge, CITwoEdgeSeparationSecondEdge, CITwoEdgeSeparationUnits) | Creates a CIChannel that measures the amount of time between the rising or falling edge of one digital signal and the rising or falling edge of another digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | CreateTwoEdgeSeparationChannel(String, String, Double, Double, CITwoEdgeSeparationFirstEdge, CITwoEdgeSeparationSecondEdge, String) | Creates a CIChannel with the specified custom scale that measures the amount of time between the rising or falling edge of one digital signal and the rising or falling edge of another digital signal. This method adds one channel to the CIChannelCollection.
|
![]() | 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.