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 »

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 »

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

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

Post by Coen »


Post Reply