Counter-timers

I am new to the comedi project and list, as well as RTLinux. I am building 
a controller that has 2 difficult (so far) requirements:

1. Sample 4 channels of analog data as simultaneously as possible. The 
trigger will be external (position encoder signal). The data will have to 
be buffered somehow since the sampling rate will approach 500kS/s, total, 
125kS/s per channel. Every 2 encoder revolutions I will need to grab the 
data and process it for use in my control algorithm.

2. Generate single-shot pulses on 8-16 output channels. These need to be
timed to occur at specific angular positions. The angular velocity could
approach 6000rpm, so it will have to be done in hardware, i.e. a
counter-timer board. The pulse locations and widths will be updated via a
periodic 5ms task.

Comedi seems to be able to handle #1. Any ideas on how to handle #2? I'm 
assuming I might have to write some code to read/write memory locations 
for the counter-timer board. If it helps, I'm looking at the NI 6071E to 
do #1 and a counter-timer board with the 9513 chip to do #2 (PCIDCC20 or 
similar). Any good references if this is the case?

Regards,
Jason Souder

-- 
----------------------------------
Vehicle Dynamics Lab
University of California, Berkeley
2162 Etcheverry Hall
Berkeley, CA 94720
510-642-6933

Received on 2002-08-06Z18:27:21