Page 1 of 1

I want to read data in ringbuffer

Posted: Sun Aug 02, 2009 10:22 am
by mori
Hello


I am writing C++ in Microsoft Visual C++.
My purpose is controlling other equipment using EEG data.

I wrote program referring to this webpage( http://www.biosemi.com/faq/make_own_acq ... ftware.htm ) and succeeded it.

But now I have a problem.
According to the webpage( http://www.biosemi.com/faq/make_own_acq ... ftware.htm ) ,after step 4, EEG data from USB-receiver enter in ringbuffer.But I can't read data in ringbuffer.

{
(I am trying)

READ_MULTIPLE_SWEEPS(HANDLE hdevice,PCHAR data,DWORD nBytesToRead);
/* I think "data" is ringbuffer. */

printf(~);
/* I want to read inside in "data".*/
}

Then I want to know two things.
<1> What form does data enter in ringbuffer ?
<2> How can I read the data from ringbuffer ?


Please help.

Posted: Sat Dec 12, 2009 12:28 pm
by xuheer
I have almost the same problems with you, ao waiting with you for the guidance!

Posted: Sun Dec 13, 2009 10:35 pm
by Coen