<div dir="ltr">We have the same problem with reading the status correctly from Biosemi. Our experiment software (presentation) sends a zero as first trigger so a simple value(:) = value(:) - value(1); in the trial function will remove the offset from the triggers. <div><br></div><div>/elmeri</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 12:09 PM, Ricarda Braukmann <span dir="ltr"><<a href="mailto:r.braukmann@donders.ru.nl" target="_blank">r.braukmann@donders.ru.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Vitoria,<div><br></div><div>I had a problem with biosemi markers not being read in correctly by FT as well.<br><br>First of all, if I remember correctly, using ft_read_event only worked for me with .bdf files (and not .edf files).<br>Still even with the .bdf files, the numbers were not correct.<br>This was caused by the fact that the biosemi system always sent out two markers to the EEG (one constant marker and one marker specific to stimulus presentation).<br>FT for some reason did not recognize these markers as 2 (8bit) markers but created 1 16 bit marker from it.</div><div><br>Once I knew this it was easily solved, I just recoded the markers.<br>Not sure whether this is what is happening with your set-up as well (might be different with newer ft versions), but maybe it helps.<br><br>In any case, I belief that the biosemi STATUS markers are indeed not strings.<br><br>Best,<br>Ricarda<div><div class="h5"><br><br>On Wednesday, January 21, 2015, Alexander Maye <<a href="mailto:a.maye@uke.de" target="_blank">a.maye@uke.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Vitoria,<br>
<br>
with this minimal description it's hard to say what the problem is, but these<br>
are the things that come to my mind:<br>
- Did you setup/modify a config file for the ftbuffer, and did you start the<br>
buffer with this config?<br>
- Sometimes the higher bits of the parallel port are set, giving you event<br>
values >60.000. Maybe you could mask out the bits that you are interested in?<br>
Another possibility is that ftbuffer's event values are in two's-complement<br>
format. In any case you could check the output of the ftbuffer program - if<br>
your events aren't there, your program will not see them either.<br>
- Transition from some value to zero are not detected as events as it seems.<br>
<br>
Hope this helps,<br>
<br>
ALEX.<br>
<br>
</blockquote></div></div></div>
</div>
<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><br></blockquote></div><br></div>