| Data Acquisition Toolbox | Search  Help Desk |
| daqmem | Examples See Also |
Allocate or display memory for one or more device objects.
Syntax
mem = daqmem
mem = daqmem(obj)
mem = daqmem(obj, value)
mem = daqmem(value)
Description
daqmem returns a structure array containing four fields: System, Object, BytesUsed, and BytesAvailable. System returns the memory available on your system and the memory used by your system, Object lists all existing device objects, BytesUsed lists the memory used by each device object, and BytesAvailable lists the maximum memory allocated for each device object.
daqmem(obj) returns the memory used by the specified device object.
daqmem(obj, value) sets the maximum memory that can be allocated for the specified device object.
daqmem(value) sets the maximum memory that can be allocated for all device objects. If multiple device objects are being used at the same time, the engine automatically assigns the appropriate memory to each device object.
Example
Sound Card
See Also
Properties
BufferingConfig, BufferingMode