Programming Flowcharts
69
4
4
4
4
4
4
4
4
4
Deal with D/A Messages and Buffers (cont.)
Wait for
message?
Yes
Fill the buffer.
Return to
.
olDmCopyToBuffer
Use
olDaPutBuffer
to recycle the
buffer so that the subsystem can fill it
again (in OL_WRP_NONE or
OL_WRP_MULTIPLE mode only).
The buffer done message is
OLDA_WM_BUFFER_
DONE. Use
olDaGetBuffer
to retrieve a buffer from the
done queue and get a
pointer to the buffer.
Buffer done
message
returned?
No
Yes
Use new
data?
No
Yes
olDaGetBuffer
Continued from previous page
olDaPutBuffer
IO complete
message
returned?
Yes
No
The IO complete message is OLDA_WM_IO_COMPLETE.
It is generated when the last data point has been output
from the analog output channel. Note that in some cases,
this message is generated well after the data is transferred
from the buffer (when the OLDA_WM_BUFFER_DONE and
OLDA_WM_QUEUE_DONE messages are generated.
Summary of Contents for KUSB-3100
Page 10: ...Contents x...
Page 14: ...About this Manual xiv...
Page 15: ...1 1 Overview Features 2 Supported Software 3...
Page 18: ...Chapter 1 4...
Page 46: ...Chapter 2 32...
Page 47: ...33 3 Supported Device Driver Capabilities...
Page 86: ...Chapter 4 72...
Page 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Page 100: ...Chapter 6 86...
Page 101: ...87 A Specifications...
Page 112: ...Appendix A 98...
Page 113: ...99 B Connector Pin Assignments...
Page 115: ...101 C Reading from or Writing to the Digital Registers...