[FieldTrip] Address of biosemi device

Robert Oostenveld r.oostenveld at donders.ru.nl
Wed Dec 21 20:58:10 CET 2011


Dear Hamza

According to the documentation on http://fieldtrip.fcdonders.nl/development/realtime/biosemi the full command line is 
   biosemi2ft <config-file> <gdf-file> <hostname> <port>
and "The first argument must be the name of a configuration file (see below). The second argument determines the base name of a GDF file that data is written to. The .gdf will be added automatically, as well as session counters (see below) and additional file name parts _1, _2 and so on for splitting the data over multiple files (to avoid 2 GB limits). The optional third and fourth argument are the hostname and port of the FieldTrip buffer. Defaults are localhost and 1972. Replacinghostname by a minus (-) tells the software to spawn its own buffer server on the given port."

If you did not start buffer.exe prior to biosemi2ft.exe, you don't have a buffer server running and the error message makes sense because the buffer cannot be found.

If you specify "-" as 3rd argument then biosemi2ft.exe will spawn its own buffer server in a separate thread and will connect to that. See http://fieldtrip.fcdonders.nl/development/realtime/biosemi and http://fieldtrip.fcdonders.nl/development/realtime/buffer. Note that you should name the output file "ex", not "ex.gdf".

best
Robert


On 21 Dec 2011, at 17:50, Hamza Fawzi Altakroury (Student) wrote:

> The directory: fieldtrip-20111211\realtime\acquisition\biosemi
> 
> The command: biosemi2ft config.txt ex.gdf
> 
> Output : could not connect to buffer server at localhost:1972.
> 
> Thank a lot
> 
> 
> 
> On Wed, Dec 21, 2011 at 5:48 PM, Boris Reuderink <b.reuderink at donders.ru.nl> wrote:
> Could you perhaps send me the exact command you executed? Tomorrow
> I'll have access to a windows machine --- maybe I can find out what
> went wrong.
> 
> Best regards,
> 
> Boris
> 
> 2011/12/21 Hamza Fawzi Altakroury (Student) <hamzaf at sabanciuniv.edu>:
> > Thank you Boris.
> >
> > Well, I tried the default mode (just by specifying the configuration file
> > and the gdf file in the cmd). But this message appeared.
> > Could you or anyone just tell me exactly what should I do or modify.
> >
> > Thanks a lot
> >
> >
> > On Wed, Dec 21, 2011 at 12:56 PM, Boris Reuderink
> > <b.reuderink at donders.ru.nl> wrote:
> >>
> >> Dear Hamza,
> >>
> >> I think this message appears when you specify a specific buffer server
> >> to connect to. The biosemi2ft.exe can be run in two modes, 1) it
> >> starts an baked-in buffer server (default), or 2) it can can use a
> >> buffer server that is run in a separate process.
> >>
> >> The default mode is probably a good choice. You can select the default
> >> mode *by not specifying a server of port*.
> >>
> >> Best regards,
> >>
> >> Boris
> >>
> >> On Mon, Dec 19, 2011 at 10:03 AM, Hamza Fawzi Altakroury (Student)
> >> <hamzaf at sabanciuniv.edu> wrote:
> >> > Hello,
> >> >
> >> > I'd tried to use the biosemi2ft function for realtime acquiring. But the
> >> > following message appears:
> >> >
> >> > "Could not connect to buffer server at localhost: 1972".
> >> >
> >> > Should I change the Hostname and the Port, if yes what should they be?
> >> >
> >> > Best,
> >> >
> >> >
> >> > --
> >> > Hamza Fawzi Altakroury
> >> > Graduate student - MA
> >> > Faculty of Engineering and Natural Sciences
> >> > Sabancı University
> >> >
> >> > _______________________________________________
> >> > fieldtrip mailing list
> >> > fieldtrip at donders.ru.nl
> >> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> >>
> >> _______________________________________________
> >> fieldtrip mailing list
> >> fieldtrip at donders.ru.nl
> >> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> >
> >
> >
> >
> > --
> > Hamza Fawzi Altakroury
> > Graduate student - MA
> > Faculty of Engineering and Natural Sciences
> > Sabancı University
> >
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> 
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> 
> 
> 
> -- 
> Hamza Fawzi Altakroury
> Graduate student - MA
> Faculty of Engineering and Natural Sciences
> Sabancı University
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip





More information about the fieldtrip mailing list