Re: Support for PWM?

> When I looked over the comedi documentation, I saw very little
> in the way out output (control) functions. Am I correct in
> assuming that (short of writing a low level driver myself) there
> is nothing in the library to generate a PWM even if the actual
> card supports it?

Well, I'm also quite new to comedi, but when I browsed through ni_mio_common.c 
I saw the following functions:

static void GPCT_Gen_Cont_Pulse(comedi_device *dev, int chan, unsigned int 
length);
static void GPCT_Gen_Single_Pulse(comedi_device *dev, int chan, unsigned int 
length);

couldn't they be used for PWM generation?
It sounds a little bit like this!

cheers,
Christian

-- 
Dipl.-Ing. Christian Fleischer
Technical University of Berlin
Computer Engineering and Microelectronics
Sekr. EN 10 - Einsteinufer 17 - 10587 Berlin - Germany
Fon:+49 (0)30 314-73114
Fax:+49 (0)30 314-21116
fleischerATcsDOTtuMINUSberlinDOTde

Received on 2004-04-30Z09:38:36