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.
Содержание KUSB-3100
Страница 10: ...Contents x...
Страница 14: ...About this Manual xiv...
Страница 15: ...1 1 Overview Features 2 Supported Software 3...
Страница 18: ...Chapter 1 4...
Страница 46: ...Chapter 2 32...
Страница 47: ...33 3 Supported Device Driver Capabilities...
Страница 86: ...Chapter 4 72...
Страница 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Страница 100: ...Chapter 6 86...
Страница 101: ...87 A Specifications...
Страница 112: ...Appendix A 98...
Страница 113: ...99 B Connector Pin Assignments...
Страница 115: ...101 C Reading from or Writing to the Digital Registers...