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.40.49302
Syntax
public enum ReallocationPolicy
Public Enumeration ReallocationPolicy
Members
Member name | Value | Description | |
---|---|---|---|
DoNotReallocate | 0 | The read operation is limited to read up to the capacity of the provided buffer. | |
ToGrow | 1 | The 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. |