demo/cmd with pcl812pg

Hi!

I have an old pcl812pg card and I'm trying to get it working with comedi. 
I successfully installed comedi (0.7.73) and comedilib (0.8.0) and tried 
to run the demos. Simple acquisition works, but I experienced a problem 
when trying to run the asynchronous input example (cmd.c).

By default, the demo does 1000 scans at 1ms intervals, and each scan 
should read values from 4 channels. The problem is, it only reads 1 
channel in each scan, namely the first channel in cmd.chanlist.

I tried to take samples with lower frequency, and also tried a single 
scan, it always only reads the 0th channel in the list.

Can this be due to a limitation of the pcl812? If no, could you give me 
some hints where to look for the error?

thanks
Istvan

Received on 2007-08-09Z09:19:26