OpenViBE forum

The OpenViBE community
It is currently Wed Sep 18, 2019 11:13 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Nov 16, 2009 11:42 pm 
Offline

Joined: Sun Oct 25, 2009 1:18 am
Posts: 6
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


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 17, 2009 8:56 am 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.