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

NameValueDescription
OverwriteUnreadSamples10252

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.

DoNotOverwriteUnreadSamples10159

The acquisition stops when it encounters a sample in the buffer that you have not read.