<html><body><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></body></html>