- From: David Schleef <ds_at_schleef.org>
- Date: Thu, 30 Jan 2003 15:23:22 -0800
On Thu, Jan 30, 2003 at 09:44:16AM -0500, Bernard Puc wrote: > I am using one of the DIO channels to output a 50 millisecond pulse at 1 > Hz. Is the best (only?) way to generate that pulse through a software > function which calls comedi_dio_write, usleep for the 50 milliseconds, > then call comedi_dio_write again? Or is there some way to generate a > pulse via a hardware feature? Thanks for any help! It is possible to use the GPTCs (general purpose counter/timers) to get a clean waveform, but the current interface isn't well documented (and will eventually be replaced). Sleeping in a user-space application will not create a steady waveform. dave...
Received on 2003-01-30Z23:23:22