Collect response during blank

Aad Pors aadpors at gmail.com
Wed Aug 20 12:22:58 UTC 2014


I have been trying this in several ways, but nothing seems to work. Could 
you post an example of what your intent is?

Op woensdag 20 augustus 2014 11:11:22 UTC+2 schreef Katrin:
>
> Hey
> 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...
> Cheers
> k
>
>
> 2014-08-20 11:06 GMT+02:00 Aad Pors <aad... at gmail.com <javascript:>>:
>
>> 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). 
>> 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?
>>
>> Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin:
>>>
>>> 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: 
>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp"
>>> )) 
>>>  
>>> You have to probably create two Response Objects(1 and 2) ...
>>> Best
>>> Katrin
>>>
>>>
>>> 2014-08-20 10:50 GMT+02:00 Aad Pors <aad... at gmail.com>:
>>>
>>>> Dear all,
>>>>
>>>> *The experiment*
>>>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). 
>>>> Single keyboard button responses thoughout this cycle of 1150 ms.
>>>>
>>>> *The goal*
>>>> 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.
>>>>
>>>> *The InLine script*
>>>>
>>>> *- - - - - - - - - - - - - - - - - - - *
>>>>
>>>>  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
>>>>
>>>> *- - - - - - - - - - - - - - - - - - - - - -*
>>>>
>>>>  *The problem*
>>>> 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. 
>>>>
>>>> *The question*
>>>> How do I solve this problem? I can't figure it out on my own.
>>>>
>>>> Regards,
>>>>
>>>> Aad
>>>>
>>>> PS, the origin of the script is the Multiple Responses example of PST 
>>>> support.
>>>>
>>>>  -- 
>>>> 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+u... at googlegroups.com.
>>>> To post to this group, send email to e-p... at googlegroups.com.
>>>>
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com 
>>>> <https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> 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+u... at googlegroups.com <javascript:>.
>> To post to this group, send email to e-p... at googlegroups.com 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com 
>> <https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/3c73ccf2-fee2-4b2b-a302-eba50dfe091d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20140820/3d10fc64/attachment.htm>


More information about the Eprime mailing list