[FieldTrip] TMSI2FiledTrip real time buffer

jie liu ljbj_2009 at yahoo.com
Mon Jun 18 17:05:13 CEST 2012

Hi Jörn,
I am glad to get your suggestions and comments.
I tested on the same PC and the port was open.
still the same problem
I really appreciated your time and help. Thank you again! 

best regards

 From: ""Jörn M. Horschig"" <jm.horschig at donders.ru.nl>
To: FieldTrip discussion list <fieldtrip at science.ru.nl> 
Sent: Monday, June 18, 2012 8:58 AM
Subject: Re: [FieldTrip] TMSI2FiledTrip real time buffer

Dear Jie,

I'm afraid I cannot really help you with your particular problem,
    but some basics that you should generally be covered and may thus
    help nonetheless:

 - when using cfg.dataset = '(...) localhost (...) ' make sure that
    the shared memory/buffer is running locally, i.e. on the same
    computer. This involves starting tmsi2ft on that computer.
 - if it is running on a different computer, be sure to not use
    localhost but the corresponding computer's name or ip
 - make sure that the port (here 1972) is open (i.e. not blocked by
    some firewall or in use by another program) and that the buffer
    accesses it
 - maybe you could try to 'ping' the ip where the buffer is supposed
    to run to check whether everything is set up correctly (not sure if
    this actually works)

I guess you already saw this page (but I thought it'd be wise to
    point to it nonetheless):

I hope that one of these comments help.


On 6/15/2012 7:35 PM, jie liu wrote: 
Hi All,
>The hardware I used is TMSI refa 128 working with usb (driver is fusbi version windows xp+service pack3.
>I was using TMSi-to-Fieldtrip interface from TMSi  to export data to the Fieldtrip buffer
>I tried the ft_realtime_signalviewer function to get the data as  suggested.
>The code I was using:
>cfg                = [];
>cfg.blocksize      = 1;                            % seconds
>cfg.dataset        = 'buffer://localhost:1972';    % where to read the data
>I got some errors:
>Warning: could not read header from
>buffer://localhost:1972, retrying in 1
>> In ft_read_header at 894
>  In ft_realtime_signalviewer at 72
>  In test_Buffer_draw at 6
>My question is that do I need to open the FieldTrip buffer server before I start the TMSi-to-Fieldtrip interface from TMSi? Do I need to do some kinds of initialization in FieldTrip?
>I would appreciate very much if you could give me a guide or step by step instruction on how to use real time buffer in FieldTrip with TMSi.
>Thank you all for the time and help!
>Best wishes
fieldtrip mailing list fieldtrip at donders.ru.nl http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour 
Centre for Cognitive Neuroimaging
Radboud University Nijmegen 
Neuronal Oscillations Group P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands Contact:
E-Mail: jm.horschig at donders.ru.nl Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands
fieldtrip mailing list
fieldtrip at donders.ru.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120618/cc1c808a/attachment-0002.html>

More information about the fieldtrip mailing list