NI-DAQmx .NET Framework 4.5 API Reference

Table of Contents

CIChannelCollection Class

  • Updated2023-02-21
  • 8 minute(s) read
CIChannelCollection Class
Contains the collection of counter/timer input channels for a Task.

Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public propertyAll
Gets a CIChannel that operates on all of the channels in the task.
Public propertyCount
Gets the number of elements in the collection.
Public propertyItemInt64
Gets the CIChannel at the specified index in the collection. In Visual C#, this property is the indexer.
Public propertyItemString
Gets the CIChannel with the specified virtual channel name. In Visual C#, this property is the indexer.
Top

Methods

  NameDescription
Public methodCreateAngularEncoderChannel(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.
Public methodCreateAngularEncoderChannel(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.
Public methodCreateAngularVelocityChannel(String, String, Double, Double, Int64, CIVelocityEncoderType, CIVelocityAngularEncoderUnits)
Creates a channel to measure angular velocity.
Public methodCreateAngularVelocityChannel(String, String, Double, Double, Int64, CIVelocityEncoderType, String)
Creates a channel to measure angular velocity.
Public methodCreateAngularVelocityChannel(String, String, Double, Double, UInt32, CIVelocityEncoderType, CIVelocityAngularEncoderUnits)
Creates a channel to measure angular velocity.
Public methodCreateAngularVelocityChannel(String, String, Double, Double, UInt32, CIVelocityEncoderType, String)
Creates a channel to measure angular velocity.
Public methodCreateCountEdgesChannel
Creates a CIChannel to count the number of rising or falling edges of a digital signal. This method adds one channel to the CIChannelCollection.
Public methodCreateDutyCycleChannel
Creates CIChannel to duty cycle of a digital pulse.
Public methodCreateFrequencyChannel(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.
Public methodCreateFrequencyChannel(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.
Public methodCreateGpsTimestampChannel(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.
Public methodCreateGpsTimestampChannel(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.
Public methodCreateLinearEncoderChannel(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.
Public methodCreateLinearEncoderChannel(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.
Public methodCreateLinearVelocityChannel(String, String, Double, Double, Double, CIVelocityEncoderType, CIVelocityLinearEncoderUnits)
Creates a channel that uses a linear encoder to measure linear velocity.
Public methodCreateLinearVelocityChannel(String, String, Double, Double, Double, CIVelocityEncoderType, String)
Creates a channel that uses a linear encoder to measure linear velocity.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodCreatePeriodChannel(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.
Public methodCreatePeriodChannel(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.
Public methodCreatePulseChannelFrequency
Creates a CIChannel to measure digital pulses defined by frequency and duty cycle. This function adds one channel to the CIChannelCollection.
Public methodCreatePulseChannelTicks
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.
Public methodCreatePulseChannelTime
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.
Public methodCreatePulseWidthChannel(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.
Public methodCreatePulseWidthChannel(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.
Public methodCreateSemiPeriodChannel(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.
Public methodCreateSemiPeriodChannel(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.
Public methodCreateTwoEdgeSeparationChannel(String, String, Double, Double, CITwoEdgeSeparationFirstEdge, CITwoEdgeSeparationSecondEdge, CITwoEdgeSeparationUnits)
Public methodCreateTwoEdgeSeparationChannel(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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that you can use to iterate through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a string representation of the object.
(Overrides ObjectToString.)
Top

Remarks

Tip Tip
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.

See Also

Log in to get a better experience