- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Tue, 05 Jul 2005 17:24:11 +0100
On 04/07/05 14:36, Simone bastianello wrote: > Hello! > I am a student at Padua University and I'm writing an application for > linux using PCI-DIO-32HS. > I need to generate a train of bits at the maximum speed PCI-DIO-32HS > can do (20MHz). > Can I use comedi drivers for pattern generation? Any hint? The ni_pcidio driver would need changing to support streaming write commands. At the moment it only supports streaming read commands. One hint is that it would have to check (cmd->flags & CMDF_WRITE) to distinguish write commands from read commands. Feel free to have a crack at it! > With dio.c, included in comedilib demo, the maximum speed reached is > about 200kHz, but dio.c doesn't use pattern generation. You'll have to use comedi_command to approach the speeds you require, hence the need for the driver change. -- -=( 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-07-05Z15:24:11