Programming Flowcharts
53
4
4
4
4
4
4
4
4
4
Deal with A/D Messages and Buffers
An error
occurred?
No
Go to the next page.
Yes
Report the error.
A buffer
reused
message
occurred?
No
Yes
Increment a counter, if
desired.
A queue
done
message
occurred?
No
Yes
Report the condition.
A buffer
done
message
occurred?
No
Yes
Process
data?
No
Yes
Retrieve the buffer from
the done queue using
olDaGetBuffer
Determine the number of
samples in the buffer using
olDmGetValidSamples
Go to the next page.
The most likely error messages include
OLDA_WM_OVERRUN and
OLDA_WM_TRIGGERERROR.
OLDA_WM_TRIGGERERROR is reported
if a digital event trigger is specified and the A/D
operation is stopped using an external digital trigger.
You may wish to set up new buffers for the next
operation (see
The buffer reused message is
OLDA_WM_BUFFER_REUSED.
The queue done messages are
OLDA_WM_QUEUE_DONE and
OLDA_WM_QUEUE_STOPPED. After
reporting that the acquisition has stopped,
you may wish to clean up the operation
(see
Summary of Contents for DT9820 Series
Page 1: ...DT9820 Series UM 18221 B User s Manual...
Page 4: ......
Page 7: ...Contents vii Appendix B Connector Pin Assignments 81 Index 87...
Page 8: ...Contents viii...
Page 13: ...1 1 Overview Features 2 Supported Software 4 Accessories 6...
Page 40: ...Chapter 2 28...
Page 41: ...29 3 Supported Device Driver Capabilities...
Page 52: ...Chapter 3 40...
Page 69: ...57 5 Calibration Running the Calibration Utility 59 Calibrating the Analog Output Subsystem 60...
Page 74: ...Chapter 5 62...
Page 84: ...Chapter 6 72...
Page 85: ...73 A Specifications...
Page 93: ...81 B Connector Pin Assignments...
Page 98: ...Appendix B 86...
Page 106: ...Index 94...
Page 108: ......
Page 112: ...Data Translation Support Policy...