<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear all,</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I am having trouble writing data from my TMSi Porti 7 system to the FieldTrip buffer. I have tried both the tmsidriver.exe and tmsi2ft.exe tools, but I’ve focused my efforts on the latter.<div class=""><br class=""></div><div class="">I have the TMSi system connected to my PC via USB and have tested the connection by recording some data in Polybench without issue. When I attempt to run tmsi2ft nothing happens until I terminate the process, at which point the error message “Cannot initiate device” is displayed. The exact syntax I run in the cmd is</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>tmsi2ft config.txt -</div><div class=""><br class=""></div><div class="">where config.txt file contains the following (misc commented lines excluded)</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>[select]</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>25=Blip25</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>samplerate=2048</div><div class=""><br class=""></div><div class="">For testing purposes I’ve only got a bipolar electrode connected to the TMSi system, which is the channel listed in the config file.</div><div class=""><br class=""></div><div class="">For tmsidriver.exe I changed the sampling rate in parameter file to match my system to attempt to get it to work, but no success there either. I also have the buffer open when running tmsidriver.exe. The contents of preferences.txt is</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>sampleRate(milliHz)<span class="Apple-tab-span" style="white-space:pre"> </span>BufSizeFactor<span class="Apple-tab-span" style="white-space:pre">               </span>savedata(0/1)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>2048000<span class="Apple-tab-span" style="white-space:pre">                             </span>5<span class="Apple-tab-span" style="white-space:pre">                           </span>1</div><div class=""><br class=""></div><div class="">The TMSi Porti 7 system has a sampling rate of 2048Hz. The PC is running Windows 8.1 64-bit. I’m using fieldtrip-20171106.</div><div class=""><br class=""></div><div class="">Any advice or suggestions is greatly appreciated.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Jostein Holmgren</div><div class=""><br class=""></div></div><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">----------------------<br class=""><br class="">Jostein Holmgren<br class="">DPhil Student (PRS)<br class="">Nuffield Department of Clinical Neurosciences<br class="">Wellcome Centre for Integrative Neuroimaging, FMRIB Building<br class="">University of Oxford</div></div>
</div>
<br class=""></body></html>