- From: Christoph Hintermueller <Christoph.Hintermueller_at_umit.at>
- Date: Mon, 02 Jun 2003 21:19:17 +0200
Hi >>> Luc Lefebvre <luc.lefebvre_at_mcgill.ca> 02.06.03 15.01 Uhr >>> Hi Christoph, I am quite certain though that you can perform continuous data acquisition with comedi <as I mentioned, the mmap example, it works>. Basically i want to devide the comedy buffer into thre logical areas. One my application reads data from. One which actually is filled by comedy with nem samples and one either waiting to be read by my application or written by comedi. So is this logical dvition possible and how to wait until comedi has filled a specific area of the buffer completely? in mmap example this is done by sleeping some seconds and repolling buffer. Or in worst case dooing busywaiting until logical bufferarea hs been filled by comedy completely. Or even simpler do i have to do busywating or busy sleeping (as don in mmap example) to wait until commedy has filled the buffer completly, and not only partially.Or is there a small funtionality to tell comedi wake me again if comedibuffer (at offset) contains count valid samples. (buffer contains data from up to 128 cahnnels which should be processed in parallel somehow online- and realtime-alike; see below). I do not really desire realtime as the same application should run on windows too; goodby realtime :) cheers Christoph
Received on 2003-06-02Z18:19:17