- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sun, 4 Apr 2004 12:38:33 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 31 March 2004 08:36 pm, Don Taber wrote: > > > > Yes, it should work. You need to modify ao_waveform to preload more > > samples before starting the output command, as the underflow detection > > is rather coarse-grained (and the board's hardware fifos are large). > > Frank, > > Works as advertised. Thanks for your help. > > With the NI libraries there is a way to disable FIFO mode and just > let the card churn through a circular buffer in which the channels' > waveforms are interleaved. Any way to set this up with comedi? > > Don > No, it would require an extension of some kind to the api. Well, I suppose it could be worked into the memory-mapping support (which needs some work to support output properly). The idea would be to resize comedi's buffer to the desired size, memory map it, write your waveform(s) to the memory mapped buffer, disable buffer underrun detection (which isn't possible at present) then go. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAcEgZ5vihyNWuA4URAg+KAJsHr6XTrlp+FpDj9lyHS+OdbT1iigCfReQ4 yNtEwu0YANWRtppiPn7AfnU= =K1RB -----END PGP SIGNATURE-----
Received on 2004-04-04Z16:38:33