<div dir="ltr">I have been trying this in several ways, but nothing seems to work. Could you post an example of what your intent is?<br><br>Op woensdag 20 augustus 2014 11:11:22 UTC+2 schreef Katrin:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div>Hey</div><div>try the following: copy the whole inline while replacing all Response objects with Responseobject2 and filling in the other slide... should take you 2 min...</div><div>Cheers</div><div>k</div>
</div><div><br><br><div class="gmail_quote">2014-08-20 11:06 GMT+02:00 Aad Pors <span dir="ltr"><<a href="javascript:" target="_blank" gdf-obfuscated-mailto="9bcQn1liK90J" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">aad...@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Indeed. But in my opinion, since the Time Limit in the StimExp properties has been set to 1150 ms, responses that are provided during BlankExp presentation should be recorded as responses to the stimulus slide (as Eprime intrinsically does). </div>
<div>Furthermore, if I would indeed add a second ResponseObject, would it not be necessary to "copy/paste" the whole script for the second response object as well?</div><div><br>Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin:<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div><div dir="ltr"><div>Hi Aad, as far as I get it the problem is that as Response Object you only choose the stimulusslide. I am referring to the following line: </div><div><font color="#0000ff">Set </font>theResponseObject = CRteRunnableInputObject(Rte.<u></u>Ge<wbr>tObject(<font color="#990000">"StimExp"</font>)) </div>
<div> </div><div>You have to probably create two Response Objects(1 and 2) ...</div><div>Best</div><div>Katrin</div></div></div><div><br><br><div class="gmail_quote">2014-08-20 10:50 GMT+02:00 Aad Pors <span dir="ltr"><<a>aad...@gmail.com</a>></span>:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div><div dir="ltr"><div>Dear all,</div><div>
<i><b><br></b></i></div><div><i><b>The experiment</b></i><br></div><div>250 ms text stimulus followed by a 900 ms empty text screen (blank). Single keyboard button responses thoughout this cycle of 1150 ms.</div>
<div><br></div><div><i><b>The goal</b></i></div><div>To collect multiple button presses and releases that are omitted during on-screen time of the stimulus (StimExp) and the blank (BlankExp), with their respective response times.</div>
<div><br></div><div><i><b>The InLine script</b></i></div><div><div><b><br></b></div><div><b><i>- - - - - - - - - - - - - - - - - - - </i></b></div><div><b><br></b></div><div><span style="white-space:pre-wrap"> </span><font color="#0000ff">Dim </font>theResponseObject <font color="#0000ff">As </font>RteRunnableInputObject</div>
<div><span style="white-space:pre-wrap"> </span><font color="#0000ff">Set </font>theResponseObject = CRteRunnableInputObject(Rte.<u></u>Ge<wbr>tObject(<font color="#990000">"StimExp"</font>))</div><div><br></div><div>
<font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'If the assert below fires, then the object named in the line above does not exist</font></div>
<div><span style="white-space:pre-wrap"> </span>Debug.Assert <font color="#0000ff">Not </font>theResponseObject <font color="#0000ff">Is </font><font color="#f1c232">Nothing</font></div><div><br></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Counter variable for the number of responses made</font></div>
<div><span style="white-space:pre-wrap"> </span><font color="#0000ff">Dim </font>nPressCount <font color="#0000ff">As Long</font></div><div><br></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Counter variable</font></div>
<div><span style="white-space:pre-wrap"> </span><font color="#0000ff">Dim </font>nIndex <font color="#0000ff">As Integer</font></div><div><br></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Used to set attributes for statistics</font></div>
<div><span style="white-space:pre-wrap"> </span>Dim strStatistic<font color="#0000ff"> As String</font></div><div><span style="white-space:pre-wrap"> </span></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Enumerate through the response collection </font></div>
<div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'If any of the responses were made by the keyboard, display</font></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'the statistics to the user.<span style="white-space:pre-wrap"> </span></font></div>
<div><span style="white-space:pre-wrap"> </span><font color="#0000ff">For</font> nIndex = <font color="#990000">1 </font><font color="#0000ff">To </font>theResponseObject.InputMasks.<u></u>R<wbr>esponses.Count</div><div><br></div>
<div>
<font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Set theKeyboardResponseData equal to the current keyboard response</font></div><div><span style="white-space:pre-wrap"> </span><font color="#0000ff">Dim </font>theKeyboardResponseData <font color="#0000ff">As </font>KeyboardResponseData<span style="white-space:pre-wrap"> </span></div>
<div><span style="white-space:pre-wrap"> </span><font color="#0000ff">Set </font>theKeyboardResponseData = CKeyboardResponseData(<u></u>theRespo<wbr>nseObject.InputMasks.<u></u>Responses<wbr>(nIndex))</div><div><span style="white-space:pre-wrap"> </span><font color="#0000ff">If Not</font> theKeyboardResponseData <font color="#0000ff">Is </font><font color="#f1c232">Nothing </font><font color="#0000ff">Then</font></div>
<div><br></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Increment the press count</font></div><div><span style="white-space:pre-wrap"> </span>nPressCount = nPressCount +<font color="#990000"> 1</font></div>
<div><br></div><div><font color="#6aa84f"><span style="white-space:pre-wrap"> </span>'Log reaction time and response for each key press.</font></div><div><span style="white-space:pre-wrap"> </span>c.SetAttrib <font color="#990000">"KeyPress"</font> & nIndex &<font color="#990000"> "RT"</font>, theKeyboardResponseData.RT</div>
<div><span style="white-space:pre-wrap"> </span>c.SetAttrib <font color="#990000">"KeyPress" </font>& nIndex & <font color="#990000">"RESP"</font>, theKeyboardResponseData.RESP</div><div><span style="white-space:pre-wrap"> </span></div>
<div><span style="white-space:pre-wrap"> <font color="#0000ff"> </font></span><font color="#0000ff">End If</font></div><div><br></div><div><br></div><div><span style="white-space:pre-wrap"> </span>Next <font color="#6aa84f">'nIndex</font></div>
<div style="font-style:italic"><b><br></b></div><div style="font-style:italic"><b>- - - - - - - - - - - - - - - - - - - - - -</b></div></div><div style="font-style:italic"><b><br></b></div><div style="font-style:italic">
<b>The problem</b></div>
<div>The time limit in the StimExp object has been set to 1150 ms. Therefore, Eprime does what it is supposed to do: it records all button presses and releases (as set by me), but keeps records on the response time of the last input only. Te Script works, as long as the responses are provided during the on-screen time of the stimulus. Inputs whilst the blank is being presented are not recorded by the script. </div>
<div><br></div><div><b><i>The question</i></b></div><div>How do I solve this problem? I can't figure it out on my own.</div><div><br></div><div>Regards,</div><div><br>Aad</div><div><br></div><div>PS, the origin of the script is the Multiple Responses example of PST support.</div>
<span><font color="#888888"><div style="font-style:italic"><br></div></font></span></div></div></div><span><font color="#888888"><div><div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br></div></div>
To unsubscribe from this group and stop receiving emails from it, send an email to <a>e-prime+u...@<u></u>googlegroups.com</a>.<br>
To post to this group, send email to <a>e-p...@googlegroups.com</a>.<div><br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/<u></u>ms<wbr>gid/e-prime/10f406a6-d1e8-<u></u>4637<wbr>-92c7-44f5c10b4a7f%<u></u>40googlegro<wbr>ups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<u></u>op<wbr>tout</a>.<br>
</div></font></span></blockquote></div><br></div>
</blockquote></div></div><div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="9bcQn1liK90J" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">e-prime+u...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="9bcQn1liK90J" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">e-p...@googlegroups.com</a>.<br></div>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/<wbr>msgid/e-prime/4d403894-204d-<wbr>4051-a041-f396b75c387e%<wbr>40googlegroups.com</a>.<div>
<div><br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></div></blockquote></div><br></div>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/3c73ccf2-fee2-4b2b-a302-eba50dfe091d%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/3c73ccf2-fee2-4b2b-a302-eba50dfe091d%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />