Re: NI-PCI-MIO-16E-1 AO with mmap ?

David Schleef wrote:
> > It is possible to just load the waveform to the buffer and let it run in a
> > loop?
> 
> I defined a way to load samples into a on-board FIFO and loop
> through them using a configuration instruction.  Or rather,
> I documented that it should be done this way, since it isn't
> actually implemented anywhere.

Why not define for this something into cmd->stop_src?
For example:
cmd->stop_src=TRIG_COUNT|TRIG_LOOP;
cmd->stop_arg=100;

The applicatiion upload 100 scans of the data and card will
send out these data in neverending cycle? comedi_cancel()
will stop it.

	Majkl

-- 
  Bc. Michal Dobes
   
  TES s.r.o.  (Testing of Energy Systems)
  Prazska 597,  Trebic 674 01,  Czech Republic
  Tel: +420-568 838 425  Fax: +420-568 838 427
  mailto:dobes_at_tesnet.cz

Received on 2002-11-09Z21:54:22