Re: comedi and interrupts

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 December 2003 10:06 am, Nils Juergens wrote:
> Hi,
>
> i'm trying to enhance the command support for the adv_pci1710 so that it
> supports scan_begin_src = TRIG_EXT.
>
> Do do this i use TRIG_WAKE_EOS and count the number of samples. When the
> end of on scan is reached, i switch back from pacer to external trigger.
> On the next interrupt i switch back to using the pacer.

Eww don't do that to the driver, or if you do it shouldn't be put into 
comedi.  Either the hardware supports externally triggered scans or it 
doesn't.  When someone sees that the driver claims to support externally 
triggered scans, they aren't going to appreciate that it supports them 
with an unreliable hack (and what you are describing will always be 
unreliable).  Just like noone in the world understood that das-08 cards 
didn't really support internally paced a/d conversions.

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/1Rnz5vihyNWuA4URAgMEAJ0Qzab8SRsH/0dEacrYobmQclp4ggCgk9nj
NOEOAfMKbm4h5+lEg+oHXqI=
=BeXW
-----END PGP SIGNATURE-----

Received on 2003-12-09Z00:40:15