NI-DAQmx .NET Framework 4.5 API Reference

Table of Contents

Task.EveryNSamplesWritten Event

  • Updated2023-02-21
  • 1 minute(s) read
Task.EveryNSamplesWritten Event
Occurs when N number of samples per channel, as defined by EveryNSamplesWrittenEventInterval, have been written from the PC buffer to the device.

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

Syntax

public event EveryNSamplesWrittenEventHandler EveryNSamplesWritten
Public Event EveryNSamplesWritten As EveryNSamplesWrittenEventHandler

Value

Type: NationalInstruments.DAQmxEveryNSamplesWrittenEventHandler

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

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

See Also

Log in to get a better experience