Correct, Incorrect and No Response: Differential Feedback Display Times

2,316 views
Skip to first unread message

Brad Mattan

unread,
Dec 23, 2011, 11:15:58 PM12/23/11
to E-Prime
I am trying to program e prime to display "correct" after a correct
response for 1000 ms, and "incorrect" after an incorrect response for
1500ms. I also wish to display "please try to respond faster" for
2000 ms in the event a participant takes longer than 1500 ms to
respond to the stimulus. Thanks to a previous post, I used the
following inline to code for the correct and incorrect responses. I
have also been able to set the response time limit at 1500 ms.
However, I have been unable to determine how to set the no response
feedback display at 2000 ms. Any suggestions would be much
appreciated!

-Brad

Const DurCorrect as Integer = 1000
Const DurIncorrect as Integer = 1500
If StimText.ACC Then ' correct answer
c.SetAttrib "FeedDur", DurCorrect
Else ' incorrect answer
c.SetAttrib "FeedDur", DurIncorrect
End If

David McFarlane

unread,
Jan 3, 2012, 3:43:35 PM1/3/12
to e-p...@googlegroups.com
Brad,

Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at
http://support.pstnet.com/e%2Dprime/support/login.asp , and they
strive to respond to all requests in 24-48 hours -- this is pretty
much their substitute for proper documentation, so make full use of
it. 3) In addition, PST takes questions at their Facebook page
(http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683
), and offers several instructional videos there and on their YouTube
channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet,
though). 4) If you do get an answer from PST staff, please extend
the courtesy of posting their reply back here for the sake of others.

That said, here is my take...

You do not say how you get your feedback to show "please try to
respond faster" for the no-response case, but let's assume that you
use the same stimulus feedback object for each type of response, and
need merely adjust its duration. In that case, you need merely add
an If clause to include the no-respone case. I have documented at
http://support.pstnet.com/forum/Topic2711-5-1.aspx?Highlight=problems+feedback
a few ways to test for no-response with inline code, so pick one that
suits you. E.g.,

Const DurCorrect as Integer = 1000
Const DurIncorrect as Integer = 1500

Const DurNoResponse as Integer = 2000
If (StimText.RT = 0) Then ' no response
c.SetAttrib "FeedDur", DurNoResponse
ElseIf StimText.ACC Then ' correct answer


c.SetAttrib "FeedDur", DurCorrect
Else ' incorrect answer
c.SetAttrib "FeedDur", DurIncorrect
End If

-- David McFarlane

Reply all
Reply to author
Forward
0 new messages