[prev in list] [next in list] [prev in thread] [next in thread]
List: comedi
Subject: Re: comedi_cmd and cbpcidas
From: Jan Gukelberger <g.u.g.i () gmx ! de>
Date: 2006-09-07 22:11:40
Message-ID: 1157667100.6527.49.camel () elessar ! home
[Download RAW message or body]
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
_______________________________________________
comedi mailing list
comedi@comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic