ReallocationPolicy Enumeration

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

See Also


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: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Enumeration ReallocationPolicy

C#
public enum ReallocationPolicy

Members

Member nameDescription
DoNotReallocateThe read operation is limited to read up to the capacity of the provided buffer.
ToGrowThe 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

Reference

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful