<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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>
<pre class="moz-signature" cols="72">Sophie
</pre>
Le 09.02.12 17:56, Robert Oostenveld a écrit :
<blockquote
cite="mid:8B6B86C5-3D11-4CFF-987A-6D9C6163DF7A@donders.ru.nl"
type="cite">On behalf of Philip...
<div><br>
</div>
<div><br>
<div>
<div>On 9 Feb 2012, at 15:31, Philip van den Broek wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; ">
<div apple-content-edited="true"><span
class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans:
2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; ">
<div>
<p>Dear Sophie and Hamza,</p>
<p>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).</p>
<p>
The interfacing software is located in the
FieldTrip folder:
../fieldtrip/realtime/acquisition/biosemi/biosemi2ft</p>
<p>
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
moz-do-not-send="true"
href="http://fieldtrip.fcdonders.nl/development/realtime/biosemi"
target="_top">Fieldtrip website</a>.</p>
<p>
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):
</p>
<pre>../fieldtrip/realtime/acquisition/biosemi/biosemi2ft <config_file> <gdf-file> <hostname> <port>
<config_file>: configuration file
<gdf-file>: base name of the gdf file. The suffix .gdf and session counters will be added automatically.
<hostname>: optional, default is 'localhost', specify '-' to spawn a local buffer (recommended)
<port>: optional, default is 1972</pre>
</div>
</span>
<pre>an example:</pre>
<pre>../fieldtrip/realtime/acquisition/biosemi/biosemi2ft myconfig.cfg myfile - 1972</pre>
<span class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans:
2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; ">
<div>
<p>Note that the manually specified name of the file
will overwrite any existing file, so make sure
myfile.gdf doesn't exist.</p>
<div>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:</div>
<div>ft_read_header('<a moz-do-not-send="true"
href="buffer://localhost:1972%27">buffer://localhost:1972'</a>),
or</div>
<div>ft_read_data('<a moz-do-not-send="true"
href="buffer://localhost:1972%27,%27begsample%27,1,%27endsample%27,100">buffer://localhost:1972','begsample',1,'endsample',100</a>,........</div>
<div>For further information, see fieldtrip website.</div>
<p>(more info on how we use the system at our
department can be found here: <a
moz-do-not-send="true"
href="http://www.nici.ru.nl/brainstream/twiki/bin/view/BrainStreamDocs/DocsSectionsInstallation">http://www.nici.ru.nl/brainstream/twiki/bin/view/BrainStreamDocs/DocsSectionsInstallation</a>)</p>
<p>Hope this helps you to get things running in your
place. If you have any further questions, just let
me know. </p>
<p>Best regards,</p>
<div><br>
</div>
<div>Philip van den Broek</div>
<div>
<div>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</div>
</div>
</div>
</span>
</div>
</div>
</blockquote>
</div>
<br>
</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>
</body>
</html>