ReadOverwriteMode Enumeration
- Updated2026-02-05
- 1 minute(s) read
Specifies whether to overwrite samples in the buffer that you have not yet read.
Syntax
Namespace: NationalInstruments.DAQmx
public enum ReadOverwriteMode
Remarks
Specifies whether to overwrite samples in the buffer that you have not yet read. Use this enumeration to get or set the value of ReadOverwriteMode.
Members
| Name | Value | Description |
|---|---|---|
| OverwriteUnreadSamples | 10252 | When an acquisition encounters unread data in the buffer, the acquisition continues and overwrites the unread samples with new ones. You can read the new samples by setting ReadRelativeTo to MostRecentSample and setting ReadOffset to the appropriate number of samples. |
| DoNotOverwriteUnreadSamples | 10159 | The acquisition stops when it encounters a sample in the buffer that you have not read. |