- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Tue, 06 Jun 2006 15:20:16 +0100
On 06/06/2006 14:34, asgard wrote: > hi, all. > > i am writting comedi-driver for unioxx-5 isa card with digital and > analog i/o. and i have some probems with it. > when i defined subdevice type in comedi_subdevice structure for digital > i/o, i used COMEDI_SUBD_DIO constant; > but i need constant with the same content semantic for analog i/o. for > example something like COMEDI_SUBD_AIO > but in comedi.h i found only COMEDI_SUBD_AI and COMEDI_SUBD_AO. > > have you any ideas how to solve this little problem? Unless it is a really unusual device (and I can't read Russian, so I don't know how unusual it is), you should add 2 subdevices: one for AO and one for AI. -- -=( 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 2006-06-06Z13:20:16