Specify how memory is allocated
Note: You cannot use the legacy interface on 64-bit MATLAB®. See Working with the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
BufferingMode can be set to Auto or Manual. If BufferingMode is set to Auto, the data acquisition engine automatically allocates the required memory. If BufferingMode is set to Manual, you must manually allocate memory with the BufferingConfig property.
If BufferingMode is set to Auto and the SampleRate value is changed, then the BufferingConfig values might be recalculated by the engine. Specifically, you can increase (decrease) the block size if SampleRate is increased (decreased). If BufferingMode is set to Auto and you change the BufferingConfig values, then BufferingMode is automatically set to Manual. If BufferingMode is set to Manual, then you cannot set the number of blocks to a value less than three.
For most data acquisition applications, you should set BufferingMode to Auto and have memory allocated by the engine because this minimizes the chance of an out-of-memory condition.
AI, AO, common to all channels
Read-only when running