Error Conditions - Keithley KPCI-3101 Series User Manual

Pci bus data acquisition boards
Table of Contents

Advertisement

KPCI-3101 — KPCI-3104 Series User's Manual

Error conditions

NOTE
When you stop an analog input operation, a final block of two samples is
transferred even if only one sample is required. The host software
ignores the extra sample.
DriverLINX accesses the KPCI-3101–4 hardware circular buffer to fill user buffers that you
allocate in software. It is recommended that you allocate a minimum of three buffers for analog
input operations, and the stop events controlling them. Refer to DriverLINX manuals for more
information.
• If "Counter/Timer Event" is specified, data is written to the allocated buffers until no more
empty buffers are available; at that point, the operation stops.
• If "Command," "Digital," or "Analog" event is specified, data is written to the allocated mul-
tiple buffers continuously; when no more empty buffers are available, the board overwrites
the data in the filled buffers starting with the first location of the first buffer. This process
continues indefinitely until you stop it.
• If you set "Buffers=1" in DriverLINX, (usually not recommended for analog input opera-
tions), data is written to a single buffer continuously; when the buffer is filled, the board
overwrites the data in the buffer starting with the first location of the buffer. This process
continues indefinitely until you stop it.
The KPCI-3101–4 Series board 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 con-
version 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. To avoid this error,
ensure that you allocated at least three buffers at least as large as the sampling rate; for exam-
ple, if you are using a sampling rate of 100kSamples/s (100kHz), specify a buffer size of
100,000 samples).
If any of these error conditions occurs, the board stops acquiring and transferring data to the host
computer.
NOTE
DriverLINX reports any of these errors as a "DATA LOST" message.
Principles of Operation
2-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kpci-3104 seriesKpci-3103 seriesKpci-3102 series

Table of Contents