NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

ReallocationPolicy Enumeration

ReallocationPolicy Enumeration

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

In This Section
Was this information helpful?