Details on the Options with BeginMemoryOptimizedReadMultiSample ReallocationPolicy for DAQmx

Updated Mar 24, 2019

Reported In

Driver

  • NI-DAQmx

Issue Details

There are two overloaded functions by the same name, BeginMemoryOptimizedReadMultiSample, one of which has the extra ReallocationPolicy parameter. But if read the Remarks for each function, they seem to be the same. What is the difference between them?

Solution

Calling BeginMemoryOptimizedReadMultiSample(Int32, AsyncCallback, Object, array<Double>[]()[]) is the same as using BeginMemoryOptimizedReadMultiSample(Int32, AsyncCallback, Object, array<Double>[]()[], ReallocationPolicy) and setting the ReallocationPolicy=ToGrow. 

WAS THIS ARTICLE HELPFUL?

Not Helpful