- From: Klaas Gadeyne <klaas.gadeyne_at_fmtc.be>
- Date: Mon, 5 Feb 2007 10:37:11 +0100 (CET)
On Sun, 4 Feb 2007, Frank Mori Hess wrote: > On Wednesday 31 January 2007 06:28 am, Klaas Gadeyne wrote: >> >> I did a quick test using a 2.6 kernel, but no succes so far (unless I >> forgot something) > > Would you try again now (with updated comedi_fops.c)? Hi Frank, it seems to work now. root_at_einstein:~/CVS/comedilib-counter-anoncvs/build-gcc-4.0/demo # ./gpct_pulse_generator -s 2 && echo succes Generating pulse train on subdevice 2. Period = 1000000 ns. Up Time = 500000 ns. Down Time = 500000 ns. succes root_at_einstein:~/CVS/comedilib-counter-anoncvs/build-gcc-4.0/demo # ./inp -s 2 -c 0 1581 root_at_einstein:~/CVS/comedilib-counter-anoncvs/build-gcc-4.0/demo # ./inp -s 2 -c 0 5890 root_at_einstein:~/CVS/comedilib-counter-anoncvs/build-gcc-4.0/demo # ./inp -s 2 -c 0 2774 I don't see a signal appearing on a scope yet, but I guess this has something to do with the following comment in the head of gpct_pulse_generator.c? * The example assumes the board has already been configured to * route the output signal of the counter to an appropriate * location (you may need to route it to a PFI output line * for example). regards, Klaas
Received on 2007-02-05Z09:37:11