Re: comedi_cmd and cbpcidas

Hi Marcel,

On Thu, 2006-09-07 at 13:21 +0200, Marcel Boehm wrote: 
> Hi,
> 
> I tested my PCI-DAS1602/16 with the cmd program in the demo directory.
> Everything worked, but not the way I would like it. I changed some values to 
> make a measurement every second. Is it right that comedi_cmd is non 
> blocking? 

Yes. 

> The thing is, that I get the measured values only after all 
> acquisition is done. Is it because of my daq-card or is the comedi_cmd 
> blocking until all acquisition is done?
> Or have I to do something else to get continious acquisition output.

My guess is that your card buffers the data. Given your low sampling
rate of 1 Hz the acquisition sequence is probably over before the buffer
has grown full enough for the card to send you the data.
In this case adding TRIG_WAKE_EOS to the cmd flags may help to get the
data earlier.

> Thanks in advance,
> 
> Marcel 

HTH,
Jan

Received on 2006-09-07Z21:11:40