comedi_data_read

I've made progress with my driver.  I have implemented insn_read, 
do_cmd, do_cmdtest, and cancel.

My confusion is that when I try the second program in the tutorial that 
uses the comedi_data_read() function, the only function in my driver 
that is called is the insn_read.  I expected the do_cmdtest function to 
be called a few times, then the do_cmd function, and finally the 
insn_read function.

If it helps, here are the results from the "info" executable from the 
demo programs are included with comedilib:

overall info:
   version code: 0x000744
   driver name: alphi_pciad16
   board name: pci-ad16
   number of subdevices: 1
subdevice 0:
   type: 1 (analog input)
   number of channels: 16
   max data value: 65535
   ranges:
     all chans: [-10,10] [-1,1] [-0.1,0.1] [-0.01,0.01]
   command:
     start: now|ext|int
     scan_begin: timer|ext
     convert: now
     scan_end: count
     stop: none|count
   command fast 1chan:
     start: now 0
     scan_begin: timer 125000
     convert: now 0
     scan_end: count 1
     stop: count 2

Received on 2004-06-11Z18:08:58