- From: Gianluca Palli <gpalli_at_deis.unibo.it>
- Date: Thu, 09 Jun 2005 13:30:52 +0200
Hi,
i'm writing a comedi driver for the Sensoray 626 daq board (based on the
sensoray GPL driver). It's incomplete yet (commands don't work, see
below) but i have tested this driver on different hardware and it seems
to work fine. To test the driver i have used various comedilib demo
programs, some self made codes and some generated by simulink/rtw for
RTAI platform.
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?
Another question... how can i include the driver in the Comedi CVS?
Thanks in advance for any comments and help,
Gianluca
--
Ing. Gianluca Palli, PhD
University of Bologna
DEIS -Department of Electronics, Computer Science and Systems
LAR - Laboratory of Automation and Robotics
Viale Risorgimento 2
40136 Bologna - Italy
tel: (+39) 051 20 93903
(+39) 051 20 93068 (LAB)
ICQ: 149748789
mailto: gpalli_at_deis.unibo.it
http://www-lar.deis.unibo.it/people/gpalli/
Received on 2005-06-09Z10:30:52