![Data Translation DT9800 Series User Manual Download Page 106](http://html.mh-extra.com/html/data-translation/dt9800-series/dt9800-series_user-manual_511240106.webp)
Chapter 4
94
Transfer Data from an In-process Buffer
Determine the number of
buffers on the in-process queue
using
olDaGetQueueSize
.
At least one must exist.
Allocate a buffer of the specified
number of samples with
olDmAllocBuffer
,
olDmCallocBuffer
, or
olDmMallocBuffer
.
Copy the data from the in-process
buffer to the allocated buffer for
immediate processing using
olDaFlushFromBufferInprocess
.
Deal with messages and buffers
The buffer into which in-process data was copied
was put onto the done queue by the driver,
resulting in an OLDA_WM_BUFFER_
DONE message.
When the in-process buffer has been filled, it too is
placed on the done queue and an
OLDA_WM_BUFFER_DONE message is posted.
However, the number of valid samples is equal to
the queue’s maximum samples minus what was
copied out.
Summary of Contents for DT9800 Series
Page 1: ...DT9800 Series UM 17473 L User s Manual ...
Page 4: ......
Page 13: ...1 1 Overview Features 2 Supported Software 7 Accessories 9 ...
Page 76: ...Chapter 2 64 ...
Page 77: ...65 3 Supported Device Driver Capabilities ...
Page 88: ...Chapter 3 76 ...
Page 112: ...Chapter 4 100 ...
Page 131: ...119 A Specifications ...
Page 143: ...131 B Connector Pin Assignments ...
Page 162: ...Index 150 ...