quad encoder and PCI-MIO16-E4

Dear all,

The last few months I've been working on a real-time model of the left 
ventricle of the heart. It simulates the cardiac pump function with a 
model-driven single axis servomotor operated pump.
The model is implemented in Matlab/Simulink. The servomotor control 
hardware is TUEdacs, an encoder readout/analog in/analog out /digital io 
device, built by the physics instrumentation group of  our university. 
This works well, but is not exactly cheap.  I would like to build a few 
more models, for educational purposes. Since I have a bunch of natinst 
PCI-MIO16-E4 (or PCI 6040E) boards lying around, I was wondering whether 
I can replace my TUEdacs hardware by one of these. The analog io of 
these boards is fine, digital IO works too. The question I have for the 
comedi community is:  is it possible to read a quadrature encoder with 
the counters of such a board, and, if so, has anyone some example code 
for this available?
TIA,

-- 
dr.ir. Marcel C. M. Rutten,		
Dept. of Biomedical Engineering,	section cardiovascular biomechanics,
Eindhoven University of Technology,	P.O. Box 513 NL-5600 MB  Eindhoven
The Netherlands

Received on 2006-11-27Z08:22:47