NI-DAQmx .NET Framework 4.0 API Reference

CounterMultiChannelReader Constructor

  • Updated2023-02-21
  • 1 minute(s) read
CounterMultiChannelReader Constructor
Creates a new instance of the CounterMultiChannelReader class to read from the specified DaqStream.

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

Syntax

public CounterMultiChannelReader(
	DaqStream stream
)
Public Sub New ( 
	stream As DaqStream
)

Parameters

stream
Type: NationalInstruments.DAQmxDaqStream
The DaqStream to read.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

Each Task object contains a Stream property that serves as the connection point for readers to access the samples generated by that task.

NI-DAQmx read and write methods time out after the amount of time specified by the Timeout property on the task you are reading from or writing to.

See Also