<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr">Hi Brunner, <div><br></div><div>Thanks for the reply. Yes, I did try your suggestion of changing consecutive and min_duration parameters. Biosemi triggers are 24 bits long, and the automatic trigger is contained in the upper 8 bits. I will try masking the upper 8 bits using the mask argument of find_events. </div><div><br></div><div>Thanks, </div><div>Neelesh</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 20 Jul 2018 at 11:44, Brunner, Clemens (<a href="mailto:clemens.brunner@uni-graz.at">clemens.brunner@uni-graz.at</a>) &lt;<a href="mailto:clemens.brunner@uni-graz.at">clemens.brunner@uni-graz.at</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">        External Email - Use Caution        <br>
<br>
Neelesh,<br>
<br>
did you follow the advice in my previous mail? It all depends on what exactly you send, so the best way to determine the parameters is to inspect the actual trigger channel. I don&#39;t know how your trigger signal looks like, and there&#39;s no general solution. However, I&#39;ve found that resetting the trigger signal to 0 after an event was sent out really help keep things simple. If you don&#39;t do this, Biosemi will add the current trigger value to the previous one.<br>
<br>
Clemens<br>
<br>
<br>
<br>
&gt; On Jul 20, 2018, at 16:37, Neelesh Kumar &lt;<a href="mailto:neelesh314@gmail.com" target="_blank">neelesh314@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt;         External Email - Use Caution        <br>
&gt; <br>
&gt; <br>
&gt; Hi, <br>
&gt; <br>
&gt; I am trying to send trigger from a linux system to the Biosemi ActiveOne system. We know that biosemi sends triggers of its own as well:<br>
&gt; <br>
&gt; <a href="https://www.biosemi.com/faq/trigger_signals.htm" rel="noreferrer" target="_blank">https://www.biosemi.com/faq/trigger_signals.htm</a><br>
&gt; <br>
&gt; My question is how can we use find_events and its argument to get the right number of events. Right now, I am modifying the parameter min_duration to arbitrary values until I get the number of events that is close to what I expect. Is there a better way to do this?<br>
&gt; <br>
&gt; Thanks, <br>
&gt; Neelesh<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt; <br>
&gt; <br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
&gt; contains patient information, please contact the Partners Compliance HelpLine at<br>
&gt; <a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
&gt; but does not contain patient information, please contact the sender and properly<br>
&gt; dispose of the e-mail.<br>
<br>
<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</blockquote></div>