- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Thu, 09 Jun 2005 14:02:06 +0100
On 09/06/2005 12:30, Gianluca Palli wrote: > I have some question about how to implement data transfer during command > driven acquisition. I have looked in others drivers code, in particular > in usbdux.c and cb_pcidas.c... I have tried to use the > cfc_write_to_buffer or the comedi_buf_put function to pass the sample to > the async transfer buffer, but the result is always a failure. The value > returned by the read function is always -1 and the read doesn't wait > even if the command is running or not. The async transfer buffer must be > initalized in some way? It gets initialized by the 'postconfig' function in comedi/drivers.c. > Another question... how can i include the driver in the Comedi CVS? File a bug to <https://cvs.comedi.org/cgi-bin/bugzilla/enter_bug.cgi?product=Comedi> Version: CVS Component: Misc drivers OS: Linux Fill in the Summary and Description and attach your files to the bug report. > Thanks in advance for any comments and help, Maybe it would help if you posted your code to the list so we can see what's wrong with it. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2005-06-09Z12:02:06