CounterMultiChannelReader Class
- Updated2023-02-21
- 7 minute(s) read
Contains methods for reading samples from one or more counter input channels in a task.
Inheritance Hierarchy
SystemObject
SystemMarshalByRefObject
NationalInstruments.DAQmxCounterMultiChannelReader
SystemMarshalByRefObject
NationalInstruments.DAQmxCounterMultiChannelReader
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public class CounterMultiChannelReader : MarshalByRefObject, ISynchronizeCallbacks, ISupportSynchronizationContext
Public Class CounterMultiChannelReader Inherits MarshalByRefObject Implements ISynchronizeCallbacks, ISupportSynchronizationContext
The CounterMultiChannelReader type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CounterMultiChannelReader | Creates a new instance of the CounterMultiChannelReader class to read from the specified DaqStream. |
Properties
| Name | Description | |
|---|---|---|
| SynchronizeCallbacks | Specifies how events and callback delegates are invoked.
|
Methods
| Name | Description | |
|---|---|---|
| BeginMemoryOptimizedReadMultiSampleDouble(Int32, AsyncCallback, Object, Double) |
Begins an asynchronous read of one or more Double samples from one or more
CIChannel
objects in a task.
| |
| BeginMemoryOptimizedReadMultiSampleDouble(Int32, AsyncCallback, Object, Double, ReallocationPolicy) |
Begins an asynchronous read of one or more Double samples from one or more
CIChannel
objects in a task.
| |
| BeginMemoryOptimizedReadMultiSampleInt32(Int32, AsyncCallback, Object, Int32) |
Begins an asynchronous read of one or more Int32 samples from one or more
CIChannel
objects in a task.
| |
| BeginMemoryOptimizedReadMultiSampleInt32(Int32, AsyncCallback, Object, Int32, ReallocationPolicy) |
Begins an asynchronous read of one or more Int32 samples from one or more
CIChannel
objects in a task.
| |
| BeginMemoryOptimizedReadMultiSampleUInt32(Int32, AsyncCallback, Object, UInt32) |
Begins an asynchronous read of one or more UInt32 samples from one or more
CIChannel
objects in a task.
| |
| BeginMemoryOptimizedReadMultiSampleUInt32(Int32, AsyncCallback, Object, UInt32, ReallocationPolicy) |
Begins an asynchronous read of one or more UInt32 samples from one or more
CIChannel
objects in a task.
| |
| BeginReadMultiSampleDouble | Begins an asynchronous read of one or more Double samples from one or more CIChannel objects in a task. | |
| BeginReadMultiSampleInt32 | Begins an asynchronous read of one or more Int32 samples from one or more CIChannel objects in a task. | |
| BeginReadMultiSampleUInt32 | Begins an asynchronous read of one or more UInt32 samples from one or more CIChannel objects in a task. | |
| BeginReadSingleSampleDouble | Begins an asynchronous read of a single Double sample from one or more CIChannel objects in a task. | |
| BeginReadSingleSampleInt32 | Begins an asynchronous read of a single Int32 sample from one or more CIChannel objects in a task. | |
| BeginReadSingleSampleUInt32 | Begins an asynchronous read of a single UInt32 sample from one or more CIChannel objects in a task. | |
| 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.) | |
| EndMemoryOptimizedReadMultiSampleDouble |
Handles the end of an asynchronous read initiated with
BeginMemoryOptimizedReadMultiSampleDouble(Int32, AsyncCallback, Object, Double)
and retrieves the read samples.
| |
| EndMemoryOptimizedReadMultiSampleInt32 |
Handles the end of an asynchronous read initiated with
BeginMemoryOptimizedReadMultiSampleInt32(Int32, AsyncCallback, Object, Int32)
and retrieves the read samples.
| |
| EndMemoryOptimizedReadMultiSampleUInt32 |
Handles the end of an asynchronous read initiated with
BeginMemoryOptimizedReadMultiSampleUInt32(Int32, AsyncCallback, Object, UInt32)
and retrieves the read samples.
| |
| EndReadMultiSampleDouble | Handles the end of an asynchronous read initiated with BeginReadMultiSampleDouble(Int32, AsyncCallback, Object)
and retrieves the read samples. | |
| EndReadMultiSampleInt32 | Handles the end of an asynchronous read initiated with BeginReadMultiSampleInt32(Int32, AsyncCallback, Object) and retrieves the read samples. | |
| EndReadMultiSampleUInt32 | Handles the end of an asynchronous read initiated with BeginReadMultiSampleUInt32(Int32, AsyncCallback, Object) and retrieves the read samples. | |
| EndReadSingleSampleDouble | Handles the end of an asynchronous read initiated with BeginReadSingleSampleDouble(AsyncCallback, Object) and retrieves the read sample. | |
| EndReadSingleSampleInt32 | Handles the end of an asynchronous read initiated with BeginReadSingleSampleInt32(AsyncCallback, Object) and retrieves the read sample. | |
| EndReadSingleSampleUInt32 | Handles the end of an asynchronous read initiated with BeginReadSingleSampleUInt32(AsyncCallback, Object) and retrieves the read sample. | |
| 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.) | |
| 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.) | |
| MemoryOptimizedReadMultiSampleDouble(Int32, Double, Int32) |
Reads one or more Double samples from one or more
CIChannel
objects in a task.
| |
| MemoryOptimizedReadMultiSampleDouble(Int32, Double, ReallocationPolicy, Int32) |
Reads one or more Double samples from one or more
CIChannel
objects in a task.
| |
| MemoryOptimizedReadMultiSampleInt32(Int32, Int32, Int32) |
Reads one or more Int32 samples from one or more
CIChannel
objects in a task.
| |
| MemoryOptimizedReadMultiSampleInt32(Int32, Int32, ReallocationPolicy, Int32) |
Reads one or more Int32 samples from one or more
CIChannel
objects in a task.
| |
| MemoryOptimizedReadMultiSampleUInt32(Int32, UInt32, Int32) |
Reads one or more UInt32 samples from one or more
CIChannel
objects in a task.
| |
| MemoryOptimizedReadMultiSampleUInt32(Int32, UInt32, ReallocationPolicy, Int32) |
Reads one or more UInt32 samples from one or more
CIChannel
objects in a task.
| |
| ReadMultiSampleDouble | Reads one or more Double samples from one or more CIChannel objects in a task. | |
| ReadMultiSampleInt32 | Reads one or more Int32 samples from one or more CIChannel objects in a task. | |
| ReadMultiSampleUInt32 | Reads one or more UInt32 samples from one or more CIChannel objects in a task. | |
| ReadSingleSampleDouble | Reads a single Double sample from one or more CIChannel objects in a task. | |
| ReadSingleSampleInt32 | Reads a single Int32 sample from one or more CIChannel objects in a task. | |
| ReadSingleSampleUInt32 | Reads a single UInt32 sample from one or more CIChannel objects in a task. | |
| 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.