NI-DAQmx .NET Framework 4.5 API Reference

Table of Contents

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.45.49302

Syntax

public enum ReadOverwriteMode
Public Enumeration ReadOverwriteMode

Members

  Member nameValueDescription
OverwriteUnreadSamples10252When 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.
DoNotOverwriteUnreadSamples10159The 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.

See Also

Log in to get a better experience