Principles of Operation
19
2
2
2
2
2
2
2
2
2
Code
Offset Binary
= C00000h XOR 2
23
= 400000h
Vin = 400000h * 0.000000
−
2.5 V
Vin =
−1.
25 V
Data Transfer
The DT9820 module transfers data to a user buffer that you allocate in
the host computer. Keep the following recommendations in mind
when allocating user buffers for continuous analog input operations
on the DT9820 Series:
• Allocate a minimum of three user buffers.
• Specify a buffer size at least as large as the sampling rate; for
example, if you are using a sampling rate of 960 Samples/s
(960 Hz), specify a buffer size of 960. For sampling rates less than
120 Samples/s, the minimum buffer size that you should specify
is 16 samples. For sampling rates greater than 240 Samples/s, the
minimum buffer size that you should specify is 128 samples.
• Specify the width of the buffer as 4 bytes.
• Specify the buffer wrap mode of either none (for gap-free data) or
multiple in software. The buffer wrap modes are defined as
follows:
−
If the wrap mode is none, data is written to the allocated
buffers until no more empty buffers are available; at that
point, the operation stops.
−
If wrap mode is multiple, data is written to the allocated
multiple buffers continuously; when no more empty buffers
are available, the module overwrites the data in the filled
buffers starting with the first location of the first buffer. This
process continues indefinitely until you stop it.
Содержание DT9820 Series
Страница 1: ...DT9820 Series UM 18221 B User s Manual...
Страница 4: ......
Страница 7: ...Contents vii Appendix B Connector Pin Assignments 81 Index 87...
Страница 8: ...Contents viii...
Страница 13: ...1 1 Overview Features 2 Supported Software 4 Accessories 6...
Страница 19: ...7 2 Principles of Operation Analog Input Features 9 Analog Output Features 23 Digital I O Features 26...
Страница 40: ...Chapter 2 28...
Страница 41: ...29 3 Supported Device Driver Capabilities...
Страница 52: ...Chapter 3 40...
Страница 53: ...41 4 Programming Flowcharts Single Value Operations 43 Continuous A D Operations 45 Simultaneous Operations 47...
Страница 69: ...57 5 Calibration Running the Calibration Utility 59 Calibrating the Analog Output Subsystem 60...
Страница 74: ...Chapter 5 62...
Страница 75: ...63 6 Troubleshooting General Checklist 64 Service and Support 67 If Your Board Needs Factory Service 71...
Страница 84: ...Chapter 6 72...
Страница 85: ...73 A Specifications...
Страница 93: ...81 B Connector Pin Assignments...
Страница 98: ...Appendix B 86...
Страница 106: ...Index 94...
Страница 108: ......
Страница 112: ...Data Translation Support Policy...