<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        mso-fareast-language:FR-CH;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I tried it on Windows too, and it works perfectly. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But I’m a Mac girl </span><span lang=EN-US style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> and I will be happy if someone could help me.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thank you<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> fieldtrip-bounces@donders.ru.nl [mailto:fieldtrip-bounces@donders.ru.nl] <b>On Behalf Of </b>Hamza Fawzi Altakroury (Student)<br><b>Sent:</b> vendredi 10 février 2012 06:26<br><b>To:</b> Email discussion list for the FieldTrip project<br><b>Subject:</b> Re: [FieldTrip] signal acquisition with Biosemi<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<br><br>I tried the biosemi2tf.exe command it works well on Windows. <br><br>But, unfortunately I don't know about the Mac OS.<br><br>Best,<br><br>Hamza<o:p></o:p></p><div><p class=MsoNormal>On Thu, Feb 9, 2012 at 9:37 PM, Sophie ADAMA <<a href="mailto:adama.sophie@gmail.com">adama.sophie@gmail.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal>Hi,<br><br>Thanks for your response.<br><br>I tried that but I get this: <b>command not found</b>. I am using Mac OS Lion. <br><br>Any suggestions?<br><br>Thanks<br><br><o:p></o:p></p><pre>Sophie <o:p></o:p></pre><p class=MsoNormal>Le 09.02.12 17:56, Robert Oostenveld a écrit : <o:p></o:p></p><div><div><p class=MsoNormal>On behalf of Philip... <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On 9 Feb 2012, at 15:31, Philip van den Broek wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><div><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Dear Sophie and Hamza,<o:p></o:p></span></p><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>The connection between the Biosemi Active2 system and the FieldTrip buffer is handled by interfacing software biosemi2ft (part of fieldtrip), and should be started from the terminal (mac) or command prompt (windows).<o:p></o:p></span></p><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>The interfacing software is located in the FieldTrip folder: ../fieldtrip/realtime/acquisition/biosemi/biosemi2ft<o:p></o:p></span></p><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>The BioSemi system needs a configuration (.cfg) file in which some acquisition-related settings are specified. Configuration files for the BioSemi system specify for example from how many channels data should be streamed and/or recorded, and whether the data should be downsampled. For more information about configuration files for different acquisition systems, see the <a href="http://fieldtrip.fcdonders.nl/development/realtime/biosemi" target="_blank">Fieldtrip website</a>.<o:p></o:p></span></p><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>To start the buffer that connects to the Biosemi Active2, open the terminal (Mac) or command prompt (PC) and in the folder where you would like to save your data execute (change path according to your system and location of fieldtrip toolbox): <o:p></o:p></span></p><pre>../fieldtrip/realtime/acquisition/biosemi/biosemi2ft <config_file> <gdf-file> <hostname> <port><o:p></o:p></pre><pre><o:p> </o:p></pre><pre><config_file>: configuration file<o:p></o:p></pre><pre><gdf-file>: base name of the gdf file. The suffix .gdf and session counters will be added automatically.<o:p></o:p></pre><pre><hostname>: optional, default is 'localhost', specify '-' to spawn a local buffer (recommended) <o:p></o:p></pre><pre><port>: optional, default is 1972<o:p></o:p></pre></div><pre>an example:<o:p></o:p></pre><pre>../fieldtrip/realtime/acquisition/biosemi/biosemi2ft myconfig.cfg myfile - 1972<o:p></o:p></pre><div><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Note that the manually specified name of the file will overwrite any existing file, so make sure myfile.gdf doesn't exist.<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Once this is running, you get access to the data through the fieldtrip buffer filled with data by biosemi2ft, i.e., fieldtrip fileio functions give you access to the data:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>ft_read_header('buffer://localhost:1972'), or<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>ft_read_data('buffer://localhost:1972','begsample',1,'endsample',100,........<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>For further information, see fieldtrip website.<o:p></o:p></span></p></div><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>(more info on how we use the system at our department can be found here: <a href="http://www.nici.ru.nl/brainstream/twiki/bin/view/BrainStreamDocs/DocsSectionsInstallation" target="_blank">http://www.nici.ru.nl/brainstream/twiki/bin/view/BrainStreamDocs/DocsSectionsInstallation</a>)<o:p></o:p></span></p><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Hope this helps you to get things running in your place. If you have any further questions, just let me know. <o:p></o:p></span></p><p><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Best regards,<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Philip van den Broek<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Radboud University Nijmegen<br>Donders Institute for Brain, Cognition and Behaviour<br>Centre for Cognition<br><br>P.O. Box 9104, 6500 HE Nijmegen<br>Montessorilaan 3, 6525 HR Nijmegen<br>The Netherlands<o:p></o:p></span></p></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div><div><pre>_______________________________________________<o:p></o:p></pre><pre>fieldtrip mailing list<o:p></o:p></pre><pre><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><o:p></o:p></pre><pre><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><o:p></o:p></pre></div></div><p class=MsoNormal><br>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <br>Hamza Fawzi Altakroury<br>Graduate student - MA<br>Faculty of Engineering and Natural Sciences<br>Sabancı University<o:p></o:p></p></div></body></html>