Appendix C: Application Notes
113
Frame Markers
Buffer Tail
Buffer Head
Board/Driver
Write New Data
At Buffer Head
Application
Reads Data From
Buffer Tail
Driver Asserts
Frame Done Events
When Data Written
Passes Frame
Boundry
Advanced Circular
Buffer
Figure 17: Advanced Circular Buffer
While the Advanced Circular Buffer may appear as a much different
buffering mechanism as compared to the much simpler single and
double buffer mechanisms, in essence, it is actually a superset of the
simpler buffers. The ACB configured in the single buffer mode will
behave just as the simple ordinary single buffer. If the ACB is
configured as
Circular Buffer with two frames, it will behave as a double buffer. With
multiple frames, the ACB can be used in algorithms that were designed
for buffer queues. The only limitation, which consequently results more
efficient performance, is that the logical buffers in the buffer queues
cannot be dynamically allocated and freed and their order is fixed.
Summary of Contents for PD2-MF
Page 5: ...Table of Contents iii Index 137 ...
Page 11: ...1 1 Introduction ...
Page 18: ......
Page 19: ...9 2 Installation and Configuration ...
Page 34: ......
Page 35: ...25 3 Architecture ...
Page 63: ...53 4 PowerDAQ Software Development Kit PD SDK ...
Page 106: ......
Page 107: ...97 5 Calibration ...
Page 109: ...99 A Appendix A Specifications ...
Page 110: ...Appendix A Specifications 100 ...
Page 112: ......
Page 113: ...103 B Appendix B Accessories ...
Page 118: ......
Page 119: ...109 C Appendix C Application Notes ...
Page 125: ...115 D Appendix D Warranty ...
Page 128: ......
Page 129: ...119 E Appendix E Glossary ...
Page 152: ......