Hi Alois, Arno,<div><br></div><div>Yes, BioSig event reader bdf2biosig_events.m in the new versions takes Case 4 as the default option written under the folder:  /eeglab10_1/external/biosig-partial/t200_FileAccess. I tried this in some of the later versions of EEGLAB_9 too, and it seems that using this default option started a while ago.</div>

<div><br></div><div>So, it seems the default Case 4 is a better starting point for reading events as Alois recommended. I would like to thank Alois again for providing this support for us.</div>
<div><br></div><div>I have another point to make Arno, it is again related to pre-copmpute function. I really want to use newer versions of EEGLAB but here what happens:</div><div><br></div><div>In version 9_0_4 the error message was:</div>

<div><div><br></div><div>Error in ==> eeg_getdatact at 193</div><div>        data = data(:,:,opt.trialindices);</div><div><br></div><div>Error in ==> std_erp at 158</div><div>        EEG(dat).data = eeg_getdatact(EEG(dat), 'channel', [1:EEG(dat).nbchan], 'rmcomps',</div>

<div>        g.rmcomps{dat}, 'trialindices', g.trialindices{dat});</div><div><br></div><div>Error in ==> std_precomp at 196</div><div>                std_erp(ALLEEG(desset.dataset), 'channels', tmpchanlist, opts{:},</div>

<div>                addopts{:}, g.erpparams{:});</div><div><br></div><div>Error in ==> fish_study_Adjusted_monotone_50 at 91</div><div>[STUDY ALLEEG] = std_precomp(STUDY, ALLEEG, {},'allcomps','on','recompute','on','erp','on');</div>

</div><div><br></div><div><br></div><div>In the EEGLAB 10_1 the error message changed into:</div><div><br></div><div><div>??? Error using ==> cell.unique at 47</div><div>Input must be a cell array of strings.</div><div>

<br></div><div>Error in ==> std_precomp at 187</div><div>        if length(unique([ALLEEG([STUDY.design(g.design).cell.dataset]).pnts])) > 1</div><div><br></div><div>Error in ==> fish_study_Adjusted_monotone_50 at 91</div>

<div>[STUDY ALLEEG] = std_precomp(STUDY, ALLEEG, {},'allcomps','on','recompute','on','erp','on');</div></div><div><br></div><div><br></div><div>Is this something to do with my settings or a bug ? I still use EEGLAB 7.2 since I believe it is the most stable one for my functions.</div>

<div><br></div><div>Best,</div><div>Baris</div><div><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 8:02 PM, Arnaud Delorme <span dir="ltr"><<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Baris and others,<br>
<br>
EEGLAB 10 contains the latest version of BIOSIG and uses BIOSIG's defaults for extracting event information.<br>
Would you mind making sure that your files are imported as expected using this version?<br>
<br>
Best regards,<br>
<br>
Arno<br>
<div><div></div><div><br>
On Apr 26, 2011, at 2:20 AM, Alois Schloegl wrote:<br>
<br>
><br>
> Some time ago, based on user feedback, I've already set the default<br>
> decoding method in biosig/t200/bdf2biosig_events.m also to<br>
>    case 4 (rising edge, of lower 15 bits)<br>
> Also for Baris, this mode is working fine.<br>
><br>
> Therefore, I suggest that the default decoding method in eeglab should<br>
> be also changed to this method, and as used in biosig.<br>
><br>
><br>
> Kind regards,<br>
>    Alois Schloegl<br>
><br>
><br>
><br>
><br>
> On 04/20/11 13:26, Baris Demiral wrote:<br>
>> Hi everyone,<br>
>><br>
>> I would like to comment on the previous discussion about the biogig import<br>
>> of the bdf files, related to the warnings to some triggers. Some of you<br>
>> previously reported that you see<br>
>> the following error messages after importing bdf files with biosig function:<br>
>> Warning SOPEN: number of event onset (TYP=0) and event offset (TYP=8000)<br>
>> differ (371,366)<br>
>> Warning SOPEN: number of event onset (TYP=5A) and event offset (TYP=805A)<br>
>> differ (276,280)<br>
>> Warning SOPEN: number of event onset (TYP=5B) and event offset (TYP=805B)<br>
>> differ (85,88)<br>
>><br>
>> I recognized that this is due to the "response" triggers. Biosig<br>
>> successfully detects triggers of Stimulus type (first 8 bits of the Status<br>
>> channel) but it is not capable of<br>
>> detecting the last 8 bits of the Status channel reserved for Response coming<br>
>> mainly from the Switch-boxes.<br>
>><br>
>> That might be the reason why Arno and some other could not replicate this<br>
>> bug, probably because they did not use Biosemi response switch (?). What<br>
>> happens is that biosig somehow detects the Response trigger, but then it<br>
>> marks them as "0s". I know that BioSemi marks the off-set of the response<br>
>> switch (release) and puts "0".<br>
>><br>
>> Another reason for the warning might be that when you use response boxes, as<br>
>> well as recording, say, accuracy by looking at the response, and send<br>
>> triggers to eeg machine before the button release, they may add up and give<br>
>> you weird trigger codes. But, the codes are not arbitrary and can be easily<br>
>> converted.<br>
>><br>
>> Any comments? Anyone responsible for the Biosig function, could you reply<br>
>> please?<br>
>><br>
>> Best,<br>
>> Baris<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
>> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
>> For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
><br>
> _______________________________________________<br>
> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
> To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
> For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
<br>
<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>SB Demiral, PhD.<br>Department of Psychology <br>7 George Square<br>The University of Edinburgh<br>Edinburgh, EH8 9JZ<br>UK<br>Phone: +44 (0131) 6503063<br>
</div>