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
Source code for EEG reader??
Re: Source code for EEG reader??
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
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