<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Jie,<br>
<br>
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:<br>
<br>
- 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.<br>
- if it is running on a different computer, be sure to not use
localhost but the corresponding computer's name or ip<br>
- 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<br>
- 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)<br>
<br>
I guess you already saw this page (but I thought it'd be wise to
point to it nonetheless):<br>
<a class="moz-txt-link-freetext" href="http://fieldtrip.fcdonders.nl/development/realtime/tmsi?s">http://fieldtrip.fcdonders.nl/development/realtime/tmsi?s</a>[]=tmsi<br>
<br>
I hope that one of these comments help.<br>
<br>
Best,<br>
Jörn<br>
<br>
On 6/15/2012 7:35 PM, jie liu wrote:
<blockquote
cite="mid:1339781705.68646.YahooMailNeo@web160401.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:bookman
old style, new york, times, serif;font-size:12pt">
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">Hi All,</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif""> </span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">The hardware
I used is TMSI refa 128 working with
usb (driver is fusbi version 6.0.0.76.) windows xp+service
pack3.</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">I was using
TMSi-to-Fieldtrip interface from
TMSi<span style="mso-spacerun:yes"> </span>to export data
to the Fieldtrip
buffer</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">I tried the
ft_realtime_signalviewer function to get
the data as<span style="mso-spacerun:yes"> </span>suggested.</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">The code I
was using:</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">cfg<span
style="mso-spacerun:yes">
</span>= [];</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">cfg.blocksize<span
style="mso-spacerun:yes">
</span>= 1;<span style="mso-spacerun:yes">
</span>%
seconds</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">cfg.dataset<span
style="mso-spacerun:yes">
</span>= 'buffer://localhost:1972';<span
style="mso-spacerun:yes"> </span>%
where to read the data</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">ft_realtime_signalviewer(cfg)</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">I got some
errors:</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">Warning:
could not read header from</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">buffer://localhost:1972,
retrying in 1</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">second</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">> In
ft_read_header at 894</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif""><span
style="mso-spacerun:yes"> </span>In
ft_realtime_signalviewer at 72</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif""><span
style="mso-spacerun:yes"> </span>In
test_Buffer_draw at 6</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">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?</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">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.</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">Thank you all
for the time and help!</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">Best wishes</span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif""> </span></div>
<div class="MsoNormal"><span
style="font-size:12.0pt;line-height:115%;font-family:
"Times New Roman","serif"">Jie</span></div>
<div class="yui_3_2_0_111_133976917382354" style="font-family:
times new roman, new york, times, serif; font-size: 14pt;">
<div class="yui_3_2_0_111_133976917382361" style="font-family:
times new roman, new york, times, serif; font-size: 12pt;"><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>