cmd.c gives all zeros for data

Hello--

I am running a Metrabyte Das-16, and am able to get meaningful readings
from the card as long as I use the comedi_data_read() method. 

Once I try to use the the cmd.c program, I get the following messages,
which suggest that everything is working:

-----------------------------------------

command before testing:
start:      now      0
scan_begin: follow   0
convert:    timer    1000000
scan_end:   count    4
stop:       count    1000
first test returned 0 (success)
start:      now      0
scan_begin: follow   0
convert:    timer    1000000
scan_end:   count    4
stop:       count    1000
second test returned 0 (success)
start time: 1044461839.615275
read 666 666
read 666 1332
read 666 1998
read 666 2664
read 666 3330
read 666 3996
read 666 4662
read 666 5328
read 666 5994
read 666 6660
read 666 7326
read 666 7992
read 8 8000

-----------------------------------------

However, the output data is all zeros!

0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
0 0 0 0 
etc...

------------------------------------------

Has anybody else encounted this problem, or can they suggest a solution?

Thanks,
Karen Daniels

==========================================================================
Karen Daniels
Postdoctoral Research Associate
Dept. of Physics and Center for Nonlinear and Complex Systems
Box 90305
Duke University
Durham, NC 27708
Phone: (919) 660-2549 
Fax: (919) 660-2525
http://www.phy.duke.edu/~ked/

Received on 2003-02-05Z16:21:05