NI-DAQmx .NET Framework 4.5 API Reference

Table of Contents

ReallocationPolicy Enumeration

  • Updated2023-02-21
  • 1 minute(s) read
ReallocationPolicy Enumeration
Specifies the behavior of a memory-optimized read method operation when the operation yields more samples than the current capacity of the buffer can allocate.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public enum ReallocationPolicy
Public Enumeration ReallocationPolicy

Members

  Member nameValueDescription
DoNotReallocate0The read operation is limited to read up to the capacity of the provided buffer.
ToGrow1The read operation can request more memory if the operation yields more samples than the capacity of the provided buffer. You must use initialized data; otherwise, your application could throw a DaqException.

See Also

Log in to get a better experience