<div dir="ltr"><b>UPDATE</b><div><br></div><div>it seems that in previous versions I have not been able to collect responses during the blank properly as well. So now it seems to have become a matter of response time extension from the StimExp into the blank. Google provides hits with nested lists and other stuff which I believe to be more difficult than it has to be in my case.</div><div><br></div><div>A helping word please?</div><div><br>Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear all,<div><br></div><div>I'll try to be short.</div><div><br></div><div>Stimulus setup: text screen with stimulus (StimExp) is presented for 250 ms, followed by an empty text screen (BlankExp) for 900 ms. This cycle is repeated multiple times with different contents of the stimulus screen.</div><div>I want to collect multiple keyboard 'b' presses and releases (b{-b}, max count 10). This works to the extent that I can indeed collect all these responses, as long as StimExp is being presented. I want to collect responses over the complete period of 1150 ms, as defined in the StimExp Duration properties Time Limit (1150 ms). Responses that are provided whilst the blank is being presented are not recorded. What can I do about that? The InLIne reads as follows:</div><div><br></div><div><div><br></div><div><span style="white-space:pre"> </span>Dim theResponseObject As RteRunnableInputObject</div><div><span style="white-space:pre"> </span>Set theResponseObject = CRteRunnableInputObject(Rte.<wbr>GetObject("StimExp"))</div><div><br></div><div><span style="white-space:pre"> </span>'If the assert below fires, then the object named in the line above does not exist</div><div><span style="white-space:pre"> </span>Debug.Assert Not theResponseObject Is Nothing</div><div><br></div><div><span style="white-space:pre"> </span>'Counter variable for the number of responses made</div><div><span style="white-space:pre"> </span>Dim nPressCount As Long</div><div><br></div><div><span style="white-space:pre"> </span>'Counter variable</div><div><span style="white-space:pre"> </span>Dim nIndex As Integer</div><div><br></div><div><span style="white-space:pre"> </span>'Used to set attributes for statistics</div><div><span style="white-space:pre"> </span>Dim strStatistic As String</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>'Enumerate through the response collection </div><div><span style="white-space:pre"> </span>'If any of the responses were made by the keyboard, display</div><div><span style="white-space:pre"> </span>'the statistics to the user.<span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>For nIndex = 1 To theResponseObject.InputMasks.<wbr>Responses.Count</div><div><br></div><div><span style="white-space:pre"> </span>'Set theKeyboardResponseData equal to the current keyboard response</div><div><span style="white-space:pre"> </span>Dim theKeyboardResponseData As KeyboardResponseData<span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>Set theKeyboardResponseData = CKeyboardResponseData(<wbr>theResponseObject.InputMasks.<wbr>Responses(nIndex))</div><div><span style="white-space:pre"> </span>If Not theKeyboardResponseData Is Nothing Then</div><div><br></div><div><span style="white-space:pre"> </span>'Increment the press count</div><div><span style="white-space:pre"> </span>nPressCount = nPressCount + 1</div><div><br></div><div><span style="white-space:pre"> </span>'Log reaction time and response for each key press.</div><div><span style="white-space:pre"> </span>c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT</div><div><span style="white-space:pre"> </span>c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>End If</div><div><br></div><div><br></div><div><span style="white-space:pre"> </span>Next 'nIndex</div></div><div><br></div></div></blockquote></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="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/6661a444-51db-4466-bdcd-d87662818c93%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/6661a444-51db-4466-bdcd-d87662818c93%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />