<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Soheila,<br>
    <br>
    we were facing the same problem here. Presumably, there is some
    problem in the shared memory module that the buffer is using. Right
    now, however, we could not find out where the error precisely comes
    from, so our best work around is to restart the computer prior
    recording and optimize settings, such as channels and
    sampling/decimation rate of acq2ft. In our lab, we managed to find
    near-optimal settings, so that the buffer crashes only rarely
    (actually, I never saw it crashing when the acquisition computer was
    freshly restarted). Note that a lower number of channels or higher
    decimation does not mean that it runs more stable.  It seems to be
    literally a trial-and-error approach :/ <br>
    <br>
    In order to track this down further, we need some more information,
    e.g. what MEG system are you using? What's your sampling rate, how
    many channels do you put into the buffer, and what's your decimation
    rate? It would be great if you could send me that information so
    that we can maybe try to track this down.<br>
    <br>
    Best regards,<br>
    Jörn<br>
    <br>
    On 2/14/2012 5:42 PM, Soheila Samiee wrote:
    <blockquote
cite="mid:CABdO7nR-c4v8+GTy=ihN+Az+-bf1PR-aYPWkarLh5Tdt1xJGcA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear group,<br>
        <br>
        I use FieldTrip for real-time processing of MEG signals using
        shared memory and field trip buffer in a machine other than
        acquisition system. I use matlab for reading the buffer and
        processing the data. <br>
        During my data acquisition and sending it to other computer with
        <i>acq2ft</i> in linux, I face a problem. After sending some
        blocks of data, this message: "<i>Internal Converter thread does
          not keep up with load</i>" is shown in the terminal of <i>acq2ft</i>
        and in my matlab session I see an error : "ERROR: the buffer
        returned an error (517)". It does not depend on sampling rate of
        data in acquisition system. The problem often solve when I
        restart the computer which receives the data, but after some
        minutes of transferring the data I see the message again.  <br>
        <br>
        Would you please help me in solving this problem?<br>
        Best Wishes,<br>
        Soheila<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>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour 
Centre for Cognitive Neuroimaging
Radboud University Nijmegen 
Neuronal Oscillations Group

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel:    +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
  </body>
</html>