PC-CARD-DAS16/12AO User's Guide | Functional Details |
Triggering and transfer
Atrigger begins an acquisition/transfer cycle. There are three ways to trigger a PC-CARD-DAS16/12AO: programmable pacer, software, or external. The trigger source selection is programmable. The programmable pacer is the product of two 16-bit counters dividing a 10 MHz or 1 MHz pulse derived from a 10 MHz crystal oscillator which can be used to trigger any number of paced conversions. A single conversion can be triggered by software at any time. External trigger, pacer clock and interrupt signals may also be used to control conversions and synchronize to external events.
After a conversion is made, the sample is routed to a 4096-word (sample) FIFO buffer from which it may be retrieved one sample at a time or in blocks via REP-INSW transfers.
How do FIFO size and design affect throughput?
The 4096 12-bit sample FIFO buffer stores samples from the A/D converter as they are being converted. When a block of samples is ready and when the PC is ready, the FIFO is emptied into system memory. Most FIFO designs employ a half-full transfer initiation circuit. When the FIFO is half full, the transfer request is made. Samples continue to fill the second half of the FIFO while the CPU responds to the transfer request and transfers data to system memory.
A/D pacer clock
Many analog acquisitions can be handled by a simple on-board rate divider created by combining a crystal oscillator with a programmable counter. For those, the on-board 82C54 programmable rate generator (counter) supplies the pacing. Some applications require more flexible rate control.
The PC-CARD-DAS16/12AO analog conversions can be externally paced and thereby synchronized with events external to the PC. Conversions can be held off until some external event, such as a not-to-exceed condition is met. Conversions can be externally gated so that samples are taken only when an event of interest is occurring, such as a process going over normal limits.
Figure 9 shows a logic diagram of the A/D pacer clock and counters.