
Chapter 6
120
The board packs two input samples (an even and an odd sample) into each transfer to the host
computer. Samples corresponding to entries 0, 2, 4, and so on, in the channel list are
considered even samples; samples corresponding to entries 1, 3, 5, and so on, in the channel
list are considered odd samples.
Using flags internally, the board determines whether the acquired samples are pre-trigger or
post-trigger samples. These flags are not transferred to the host computer. The host computer
can read the register on the board to determine where the post-trigger data starts. Note that
the host computer cannot read data directly from the board; the data must be transferred to
the host computer.
Using PCI bus mastering, the board transfers the analog input data to a 256 KB circular buffer,
which is dedicated to the hardware, in the host computer. The board treats this buffer as two
consecutive 128 KB blocks of memory.
Note:
When you stop an analog input operation, a final block of 32 samples is transferred
even if less data is required. The host software ignores the extra samples.
The DT3010 Series Device Driver accesses the hardware circular buffer to fill user buffers that
you allocate in software. It is recommended that you allocate a minimum of two buffers for
analog input operations and add them to the subsystem queue using software.
Data is written
to the queued input buffers continuously; when no more empty buffers are available on the
queue, the operation stops. The data is gap-free.
Error Conditions
DT3010 Series boards can report the following analog input error conditions to the host
computer:
•
A/D Over Sample
– Indicates that the A/D sample clock rate is too fast. This error is
reported if a new A/D sample clock pulse occurs while the ADC is busy performing a
conversion from the previous A/D sample clock pulse. The host computer can clear this
error. To avoid this error, use a slower sampling rate.
•
Input FIFO Overflow
–
Indicates that the analog input data is not being transferred fast
enough from the Input FIFO across the PCI bus to the host computer. This error is
reported when the Input FIFO becomes full; the board cannot get access to the PCI bus
fast enough. The host computer can clear this error, but the error will continue to be
generated if the Input FIFO is still full. To avoid this error, close other applications that
may be running while you are acquiring data. If this has no effect, try using a computer
with a faster processor or reduce the sampling rate.
•
Host Block Overflow
–
Indicates that the host computer is not handling data from the
board fast enough. This error is reported if the board completes the transfer of a block of
input data to the circular buffer in the host computer before the host computer has
finished reading the last block of data. The host computer can clear this error. If you
encounter this error, try allocating more buffers or larger buffers.
Содержание Data Translation DT3010 Series
Страница 2: ...DT3010 Series UM 16866 V User s Manual Title Page ...
Страница 5: ......
Страница 15: ...About this Manual 14 ...
Страница 16: ...15 1 Overview Features 16 Supported Software 18 Accessories 19 Getting Started Procedure 21 ...
Страница 23: ...Chapter 1 22 ...
Страница 24: ...Part 1 Getting Started ...
Страница 25: ......
Страница 37: ...Chapter 2 36 ...
Страница 49: ...Chapter 3 48 ...
Страница 91: ...Chapter 4 90 ...
Страница 102: ...Part 2 Using Your Board ...
Страница 103: ......
Страница 147: ...Chapter 6 146 ...
Страница 159: ...Chapter 7 158 ...
Страница 160: ...159 8 Calibration Calibrating the Analog Input Subsystem 161 Calibrating the Analog Output Subsystem 169 ...
Страница 176: ...175 9 Troubleshooting General Checklist 176 Technical Support 178 If Your Board Needs Factory Service 179 ...
Страница 181: ...Chapter 9 180 ...
Страница 193: ...Appendix A 192 ...
Страница 213: ...Appendix B 212 ...
Страница 231: ...Index 230 ...