Creates a new instance of the DigitalMultiChannelReader class to read from the specified DaqStream.

Syntax

Namespace: NationalInstruments.DAQmx

public DigitalMultiChannelReader(DaqStream stream)

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.

Parameters

NameTypeDescription
streamDaqStream

The DaqStream to read.

Exceptions

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.