Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

Neuroserver Documentation


An open-source multi-platform EEG signal transceiver using TCP/IP and EDF format. The network protocol used is described in The NeuroServer protocol as implemented by nsd. Developers should also read the NeuroServer Developer Guide and How to handle packet-counter errors.


This library is free software; you can redistribute it and/or modify it under the terms of The GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of The GNU LESSER GENERAL PUBLIC LICENSE along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


For Windows users, just download the self-extracting binary available here: NeuroServer-0.7.4-win.exe Linux users can download the source archive: NeuroServer-0.7.4.tar.gz

To build, type

  make install

To start, first turn on your ModEEG. Then, start


which can be run from command-line or from your menu option: Start Menu | Programs | NeuroServer | NSD

NSD is the NeuroServer Daemon that must be running to enable network access. The next step is to start the hardware driver:


If your ModEEG is not connected to COM1:, then use the -d syntax:

 modeegdriver -d COM2

This is also available in Start Menu | Programs | NeuroServer | MODEEGDRIVER in another window.

Now that you have both of these running, clients are ready to be connected. At this point, you are ready to try BioPro, BrainBay, or EEGMIR by connecting to the server running on your localhost at port 8336 by default. This system also allows you to save EEG data to a file using the writeedf.exe command. You must run writeedf from a command-line, and must provide a filename such as

 writeedf eegdata.edf

Similarly, to play back your data, use the

  readedf eegdata.edf

command instead of starting your modeegdriver. In this way, you can review the same data under several different applications and parameters. To get a summary of parameters, enter either of these commands with no parameters.

Developer Requirements

For Windows users, you must install MinGW and MSYS. The versions that I test with are MinGW-3.1.0-1.exe and MSYS-1.0.10.exe. Once you have these two installed, you can build the executable under windows.
Generated on Tue Feb 8 00:05:15 2005 for Neuroserver by doxygen 1.3.3