Re: Antw: Re: continuous data acquisition

Am Sonntag, 1. Juni 2003 18:05 schrieb Christoph Hintermueller:
> Hi
>
> >>> Luc Lefebvre <luc.lefebvre_at_mcgill.ca> 30.05.03 18.23 Uhr >>>
>
> Have you looked at the mmap program in comedilib/demo?

2) Is it possible to devide the streaming
> buffer into three independen Memmaps which contain consecutive Data??
> Means one mmap contains data which has allready bben read and therefore
> is invalid. 1 is in state of beeinf filled by comedi and one beeing read
> by user process? 
To be more precise. (from rereading documentation and mmap example and 
knowing mmap roughly) Am i right that if i register a comedi buffer with a 
size of 3 times the desired subbuffers size, and setting up 3 consecutive 
mmaps uppon the entire comedidevice, that i get the desired beahvior. As 
for comedi the buffer is in one piece while my app looks at it through 3 
mmaps ? 
3) is comedi capable of informing userapplication that
> an entire mmap is valid and can be read? In other word is comedy capable
> to send user application to sleeb until entire mmap which is awaited is
> filled with valid data again ?
>
So how do i get to knwo when comedi has filled the buffer area beeing 
visible through a specific mmap? is it possible to send Application to 
sleep until area has been filled, and is informed by comedy about fully 
valid mmap area ?

And again are command, streaming and mmap available uppong NI PCI DIO 32HS?
If not Ni seems to having removed the register level documentation 
(341329.pdf  and 341330A.pdf) as state in ni_dio.cpp sourcefile. Is it 
possible to get the entire documents from different site in case the ni 
dio driver has to be extended to be streamable? Is it advisable at all to 
extend the driver? 
I've right now installed lastweeks comedi and comedilib cvs version.


cu
Christoph

-- 
Dipl.-Ing. Christoph Hintermüller
University for Health Informatics and Technology Tyrol
Innrain 98, A-6020 Innsbruck, AUSTRIA
Tel:  +43/ 512/ 58 67 34/ 820; Fax: +43/ 512/ 58 67 34/ 850
Mail: christoph.hintermueller_at_umit.at; Hompage: http://imsb.umit.at

Received on 2003-06-02Z06:46:45