Source code for EEG reader??

Come here to discuss about OpenViBE in general!
Post Reply
bayo
Posts: 6
Joined: Sun Oct 25, 2009 1:18 am

Source code for EEG reader??

Post by bayo »

Hello there,

Please I'm trying to understand how openvibe reads data from the serial. Actually I need a pseudocode/algorithm to write a similar function in Matlab. I know in Matlab you can specify the baudrate but how do I specify the sample rate and things like that. My aim is to understand how openvibe does it then I can try and implement it in Matlab?

Does anyone knows how I can get the source file that specifically does this function?


Bayo

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Source code for EEG reader??

Post by yrenard »

bayo,

the only acquisition driver we have that actually reads serial port is the OpenEEG driver. You can find it under openvibe-applications/acquisition-server/trunc/src/openeeg-modulareeg. Feel free to study the code and write your own driver for MATLAB. I don't know MATLAB very much myself so I won't help on this.

Yann

Post Reply