NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

CounterMultiChannelReader Class

CounterMultiChannelReader Class

CounterMultiChannelReader Class

Contains methods for reading samples from one or more counter input channels in a task.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxCounterMultiChannelReader

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

Syntax

public class CounterMultiChannelReader : MarshalByRefObject, 
	ISynchronizeCallbacks, ISupportSynchronizationContext
Public Class CounterMultiChannelReader
	Inherits MarshalByRefObject
	Implements ISynchronizeCallbacks, ISupportSynchronizationContext

The CounterMultiChannelReader type exposes the following members.

Constructors

  NameDescription
Public methodCounterMultiChannelReader
Creates a new instance of the CounterMultiChannelReader class to read from the specified DaqStream.
Top

Properties

  NameDescription
Public propertySynchronizeCallbacks
Specifies how events and callback delegates are invoked.
Top

Methods

  NameDescription
Public methodBeginMemoryOptimizedReadMultiSampleDouble(Int32, AsyncCallback, Object, Double)
Begins an asynchronous read of one or more Double samples from one or more CIChannel objects in a task.
Public methodBeginMemoryOptimizedReadMultiSampleDouble(Int32, AsyncCallback, Object, Double, ReallocationPolicy)
Begins an asynchronous read of one or more Double samples from one or more CIChannel objects in a task.
Public methodBeginMemoryOptimizedReadMultiSampleInt32(Int32, AsyncCallback, Object, Int32)
Begins an asynchronous read of one or more Int32 samples from one or more CIChannel objects in a task.
Public methodBeginMemoryOptimizedReadMultiSampleInt32(Int32, AsyncCallback, Object, Int32, ReallocationPolicy)
Begins an asynchronous read of one or more Int32 samples from one or more CIChannel objects in a task.
Public methodBeginMemoryOptimizedReadMultiSampleUInt32(Int32, AsyncCallback, Object, UInt32)
Begins an asynchronous read of one or more UInt32 samples from one or more CIChannel objects in a task.
Public methodBeginMemoryOptimizedReadMultiSampleUInt32(Int32, AsyncCallback, Object, UInt32, ReallocationPolicy)
Begins an asynchronous read of one or more UInt32 samples from one or more CIChannel objects in a task.
Public methodBeginReadMultiSampleDouble
Begins an asynchronous read of one or more Double samples from one or more CIChannel objects in a task.
Public methodBeginReadMultiSampleInt32
Begins an asynchronous read of one or more Int32 samples from one or more CIChannel objects in a task.
Public methodBeginReadMultiSampleUInt32
Begins an asynchronous read of one or more UInt32 samples from one or more CIChannel objects in a task.
Public methodBeginReadSingleSampleDouble
Begins an asynchronous read of a single Double sample from one or more CIChannel objects in a task.
Public methodBeginReadSingleSampleInt32
Begins an asynchronous read of a single Int32 sample from one or more CIChannel objects in a task.
Public methodBeginReadSingleSampleUInt32
Begins an asynchronous read of a single UInt32 sample from one or more CIChannel objects in a task.
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 methodEndMemoryOptimizedReadMultiSampleDouble
Handles the end of an asynchronous read initiated with BeginMemoryOptimizedReadMultiSampleDouble(Int32, AsyncCallback, Object, Double) and retrieves the read samples.
Public methodEndMemoryOptimizedReadMultiSampleInt32
Handles the end of an asynchronous read initiated with BeginMemoryOptimizedReadMultiSampleInt32(Int32, AsyncCallback, Object, Int32) and retrieves the read samples.
Public methodEndMemoryOptimizedReadMultiSampleUInt32
Handles the end of an asynchronous read initiated with BeginMemoryOptimizedReadMultiSampleUInt32(Int32, AsyncCallback, Object, UInt32) and retrieves the read samples.
Public methodEndReadMultiSampleDouble
Handles the end of an asynchronous read initiated with BeginReadMultiSampleDouble(Int32, AsyncCallback, Object) and retrieves the read samples.
Public methodEndReadMultiSampleInt32
Handles the end of an asynchronous read initiated with BeginReadMultiSampleInt32(Int32, AsyncCallback, Object) and retrieves the read samples.
Public methodEndReadMultiSampleUInt32
Handles the end of an asynchronous read initiated with BeginReadMultiSampleUInt32(Int32, AsyncCallback, Object) and retrieves the read samples.
Public methodEndReadSingleSampleDouble
Handles the end of an asynchronous read initiated with BeginReadSingleSampleDouble(AsyncCallback, Object) and retrieves the read sample.
Public methodEndReadSingleSampleInt32
Handles the end of an asynchronous read initiated with BeginReadSingleSampleInt32(AsyncCallback, Object) and retrieves the read sample.
Public methodEndReadSingleSampleUInt32
Handles the end of an asynchronous read initiated with BeginReadSingleSampleUInt32(AsyncCallback, Object) and retrieves the read sample.
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 methodGetHashCode
Serves as a hash function for a particular type.
(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 methodMemoryOptimizedReadMultiSampleDouble(Int32, Double, Int32)
Reads one or more Double samples from one or more CIChannel objects in a task.
Public methodMemoryOptimizedReadMultiSampleDouble(Int32, Double, ReallocationPolicy, Int32)
Reads one or more Double samples from one or more CIChannel objects in a task.
Public methodMemoryOptimizedReadMultiSampleInt32(Int32, Int32, Int32)
Reads one or more Int32 samples from one or more CIChannel objects in a task.
Public methodMemoryOptimizedReadMultiSampleInt32(Int32, Int32, ReallocationPolicy, Int32)
Reads one or more Int32 samples from one or more CIChannel objects in a task.
Public methodMemoryOptimizedReadMultiSampleUInt32(Int32, UInt32, Int32)
Reads one or more UInt32 samples from one or more CIChannel objects in a task.
Public methodMemoryOptimizedReadMultiSampleUInt32(Int32, UInt32, ReallocationPolicy, Int32)
Reads one or more UInt32 samples from one or more CIChannel objects in a task.
Public methodReadMultiSampleDouble
Reads one or more Double samples from one or more CIChannel objects in a task.
Public methodReadMultiSampleInt32
Reads one or more Int32 samples from one or more CIChannel objects in a task.
Public methodReadMultiSampleUInt32
Reads one or more UInt32 samples from one or more CIChannel objects in a task.
Public methodReadSingleSampleDouble
Reads a single Double sample from one or more CIChannel objects in a task.
Public methodReadSingleSampleInt32
Reads a single Int32 sample from one or more CIChannel objects in a task.
Public methodReadSingleSampleUInt32
Reads a single UInt32 sample from one or more CIChannel objects in a task.
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

Was this information helpful?