Response collection over blank
David McFarlane
mcfarla9 at msu.edu
Tue Aug 19 15:57:40 UTC 2014
Please work through the extended input example (NestingXRT) in
Appendix C of the User's Guide that came with E-Prime. And if you do
not already have the multiple responses working, then also look at
the Multiple Response Collection example that you may download from
the PST website.
-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster)
/----
Stock reminder: 1) I do not work for PST. 2) You may reach PST's
trained staff (and other support facilities) at
https://support.pstnet.com . 3) If you do get an answer from PST
staff, please extend the courtesy of posting their reply back here
for the sake of others.
\----
At 8/18/2014 07:24 AM Monday, Aad Pors wrote:
>UPDATE
>
>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.
>
>A helping word please?
>
>Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors:
>Dear all,
>
>I'll try to be short.
>
>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.
>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:
>
>
>Dim theResponseObject As RteRunnableInputObject
>Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp"))
>
>'If the assert below fires, then the object named in the line above
>does not exist
>Debug.Assert Not theResponseObject Is Nothing
>
>'Counter variable for the number of responses made
>Dim nPressCount As Long
>
>'Counter variable
>Dim nIndex As Integer
>
>'Used to set attributes for statistics
>Dim strStatistic As String
>'Enumerate through the response collection
>'If any of the responses were made by the keyboard, display
>'the statistics to the user.
>For nIndex = 1 To theResponseObject.InputMasks.Responses.Count
>
>'Set theKeyboardResponseData equal to the current keyboard response
>Dim theKeyboardResponseData As KeyboardResponseData
>Set theKeyboardResponseData =
>CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex))
>If Not theKeyboardResponseData Is Nothing Then
>
>'Increment the press count
>nPressCount = nPressCount + 1
>
>'Log reaction time and response for each key press.
>c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT
>c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP
>End If
>
>
>Next 'nIndex
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f373ff.5099320a.022d.6819SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/d/optout.
More information about the Eprime
mailing list