I want to read data in ringbuffer

Post Reply
mori
Posts: 1
Joined: Fri Jul 31, 2009 7:49 am
Location: Japan

I want to read data in ringbuffer

Post by mori » Sun Aug 02, 2009 10:22 am

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.

xuheer
Posts: 6
Joined: Tue Dec 08, 2009 1:44 pm
Location: China Beijing

Post by xuheer » Sat Dec 12, 2009 12:28 pm

I have almost the same problems with you, ao waiting with you for the guidance!

Coen
Site Admin
Posts: 910
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen » Sun Dec 13, 2009 10:35 pm


Post Reply