EveryNSamplesRead Event

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

Task Class See Also


Occurs when N number of samples per channel, as defined by EveryNSamplesReadEventInterval, is written from the device to the PC buffer.

Namespace: NationalInstruments.DAQmx

Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Event EveryNSamplesRead As EveryNSamplesReadEventHandler

C#
public event EveryNSamplesReadEventHandler EveryNSamplesRead

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

You must set EveryNSamplesReadEventInterval to a value greater than zero before registering this event.
Note: For more information about events in NI-DAQmx, refer to Events.

See Also

Reference

Task Class

NationalInstruments.DAQmx Namespace

Other Resources

WAS THIS ARTICLE HELPFUL?

Not Helpful