NI-DAQmx .NET Framework 4.5 API Reference

Task.OnEveryNSamplesWritten Method

  • Updated2023-02-21
  • 1 minute(s) read
Task.OnEveryNSamplesWritten Method
Raises the EveryNSamplesWritten event.

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

Syntax

protected virtual void OnEveryNSamplesWritten(
	EveryNSamplesWrittenEventArgs e
)
Protected Overridable Sub OnEveryNSamplesWritten ( 
	e As EveryNSamplesWrittenEventArgs
)

Parameters

e
Type: NationalInstruments.DAQmxEveryNSamplesWrittenEventArgs
An EveryNSamplesWrittenEventArgs that contains the event data.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience