ReadOverwriteMode Enumeration
- Updated2023-02-21
- 1 minute(s) read
ReadOverwriteMode Enumeration
Specifies whether to overwrite samples in the buffer that you have not yet read.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public enum ReadOverwriteMode
Public Enumeration ReadOverwriteMode
Members
Member 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. |
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.