EveryNSamplesWritten
- Updated2026-02-03
- 1 minute(s) read
Occurs when N number of samples per channel, as defined by EveryNSamplesWrittenEventInterval, have been written from the PC buffer to the device.
Syntax
Namespace: NationalInstruments.DAQmx
public EveryNSamplesWrittenEventHandler EveryNSamplesWritten
Remarks
You must set EveryNSamplesWrittenEventInterval to a value greater than zero before registering this event.
Note
For more information about events in NI-DAQmx, refer to Events.
Events
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |