Re: Help implementing counter

Sim Harbert wrote:

> I think that what you have implemented for the DAS08 is exactly what I 
> need for a project I am working on.  I need to generate a timed output 
> pulse, which I am assuming can be done by the 8254 counter using an 
> internal clock trigger.  Do you have an example of using this 
> functionality that I could see?  It would really help to see some 
> code, since I am really new to Comedi.  Any help would be appreciated.

Look in the mailing list archive:

https://cvs.comedi.org/pipermail/comedi/2004-February/005493.html

This example shows how to set the 8254 mode, set an starting value for 
the counter, read the status and read the current count.
Counter 2 (CTR3 in the connector) have its clock connected to the PCI 
clock divided by 8 (33 MHz/8).

SET

-- 
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set_at_computer.org set_at_ieee.org 
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013

Received on 2004-02-11Z19:33:57