- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sat, 21 Dec 2002 11:13:37 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 21 December 2002 03:53 am, Tomasz Motylewski wrote: > On Sat, 21 Dec 2002, Tomasz Motylewski wrote: > > ni_mio_common: ai error a_status=a4b3 > > ni_mio_common: wait for dma drain timed out > > AO TRIG: 1 after INSN_INTTRIG > > > > If I do AO, I can see only about 400 samples in AI buffer, after that it > > is stopped. But AO works OK after that in continous mode. > > > > I will use INSN_INTTRIG to start both AI and AO at the same time, but I > > have tried first this way. > > With comedi_dio_config(dev,7,6,COMEDI_OUTPUT) , TRIG_EXT for AI as in > comedi_examples/simultaneous_start both input and output work at the same > time. All is done in kernel space, comedi_command called from init_module > context. > > Best regards, It might be possible that the win_restore() calls were causing you problems, since they don't necessarily respect the win_out() locking. You should delete all of the win_restore() calls. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+BKFE5vihyNWuA4URAiNsAKDoXwt/eJpmP5YJDZYbJCMpXrcK9gCfbZNS Qb7/fT8dhd2SgSEvmF17PkQ= =nYPB -----END PGP SIGNATURE-----
Received on 2002-12-21Z17:13:37