<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Gao,<br class=""><br class="">it seems to me that in your step 9 the emotiv2ft did not actually start properly. It prints a help message out on screen, which I think it would only do if it did could not make sense of the command line options. If you specified verbatim "emotiv2ft <config-file> [hostname=localhost [port=1972 [ctrlPort=8000]]]” then it would indeed not work. You should specify the right options in the brackets. The square [] brackets are optional, the <> brackets are required. So you should at least specify the configuration file. The defaults for the last three options (localhost, 1972 and 8000) should be ok, since you started the buffer in step 6 on the localhost with the default port (which is 1972).<br class=""><br class="">best regards,<br class="">Robert<br class=""><br class=""><br class=""><div style="text-align: justify; text-indent: 31.66666603088379px;" class=""><span style="text-align: justify; text-indent: 23.75pt;" class=""><font face="Times New Roman" class=""><span style="font-size: 12pt;" class=""><br class=""></span></font></span></div><div style="text-align: justify; text-indent: 31.66666603088379px;" class=""><span style="text-align: justify; text-indent: 23.75pt;" class=""><font face="Times New Roman" class=""><span style="font-size: 12pt;" class=""> </span></font></span></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 29 Nov 2016, at 04:36, gao nuo <<a href="mailto:nancygao260@hotmail.com" class="">nancygao260@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">Dear Sir:</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">    I want to import Emotiv headset data to matlab. I found that Fieldtrip can do this.  But I failed.</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">What I did is :</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">1.  my matlab is matlab R2014a,</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">2,download the fieldtrip 20161108;</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">3. add all the files to the matlab path;</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">4. installed MinGW and set the path of the /bin in environmental variables;</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">5, turn on the emotiv headset, in the emotiv testbench, I can see the EEG signals.</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">6. run buffer.exe.</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">7 . run cmd.exe;</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">8. <span style="font-size: 12pt;" class="">go to fieldtrip-20161108/realtime/bin/win32;</span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">9. input the command line: </div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">emotiv2ft <config-file> [hostname=localhost [port=1972 [ctrlPort=8000]]]</span><span style="font-family: 'Times New Roman'; font-size: 12pt;" class=""></span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">the response is:</span></div><p class="x_MsoNormal" align="justify" style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;"><span style="font-family: 'Times New Roman'; font-size: 12pt;" class=""></span></p><div style="display: inline-block;" class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">passing hostname by a minus (-) tells the software to spawn its own buffer server on the given port</span></div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">10. run viewer.exe, push connect botton. but no response.</span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class=""><br class=""></span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">I don't know what the problems is, and how can I connect the emotiv headset with the fieldtrip buffer.</span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class=""><br class=""></span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">thanks for your reading and look forward to the suggestions.</span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class=""><br class=""></span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><span style="font-family: 'Times New Roman'; font-size: 12pt;" class="">best wishes.</span></div><div style="margin: 0px 0pt; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; text-indent: 23.75pt; text-align: justify; line-height: 24px;" class=""><font face="Times New Roman" class="">Gao Nuo </font></div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">fieldtrip mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:fieldtrip@donders.ru.nl" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">fieldtrip@donders.ru.nl</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></div></blockquote></div><br class=""></div></body></html>