i think you'll need to use an inline to do this, but i also think you can mostly avoid the complications introduced by using the prerelease.<div>here's what i would do:</div><div><br></div><div>put your inline after the 1000 ms blank screen, knowing that the inline code may be read as early as 900 ms into the blank screen's duration (and only 1150 ms after onset of your letter stimulus).</div>
<div>the script in the inline would be something like this:</div><div>Do</div><div>Loop Until (Clock.Read - LetterStimulus.OnsetTime) < (1250 - Display.RefreshDurationStats.Mean)</div><div>If LetterStimulus.RESP = "" And c.GetAttrib("Stim") = "X" Then LetterStimulus.ACC = 1</div>
<div><br></div><div>that Do...Loop will loop continuously until there is less than a single screen refresh's worth of milliseconds remaining in the LetterStimulus's response window, at which point the script will kick out of the Do...Loop, check to see if there was no response, and if no response and if 'X' then assign an accuracy of '1' to the LetterStimulus object.</div>
<div><br></div><div>how's that?</div><div><br></div><div>ben<br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 11:01 AM, Jim <span dir="ltr"><<a href="mailto:jjprisciandaro@gmail.com">jjprisciandaro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello forum,<br>
<br>
I sent this question to e-prime support last week; unfortunately, they<br>
are experiencing high volume and have been taking a long time to get<br>
back to my requests. They are time sensitive, so I was hoping the<br>
forum might have some ideas.<br>
<br>
I'm working with an e-prime experiment where participants are asked to<br>
press a button ("7") whenever they see a letter except for "X" (at<br>
which point they are asked to withold a response). I have a column in<br>
my task list "CorrectAnswerL" which states "7" for any letter (another<br>
column in the task list) other than X; CorrectAnswerL is blank for<br>
trials with "X"s. In the procedure associated with that list, the<br>
stimulus "LetterPresentation" has [CorrectAnswerL] listed in the<br>
"Correct" blank in the "Duration/Input" tab. When I run the task,<br>
nonresponses are not scored as correct for X trials (that is,<br>
LetterPresentation.ACC = 0).<br>
<br>
I previously had the task running with an inline script following the<br>
stimulus and a blank pane "ISI" which stated:<br>
<br>
If LetterPresentation.RESP = c.GetAttrib ("CorrectAnswerR") OR<br>
LetterPresentation.RESP = c.GetAttrib ("CorrectAnswerL") Then<br>
LetterPresentation.ACC = 1<br>
End If<br>
<br>
At this time there were two correct responses which is why there is an<br>
additional "correctanswer" attribute. This is no longer the case, and<br>
I want to remove the inline code. However, when I was using this code,<br>
nonresponses were scored as correct for X trials. Please let me know<br>
how I can have nonresponses scored as correct for X trials without<br>
using inline code.<br>
<br>
As an aside, I removed the inline code because I am concerned that it<br>
will be executed too early. Each trial consists of the presentation of<br>
a letter (250ms), and subsequently a blank screen (1000ms)- both<br>
objects have a 100ms prerelease. Once the letter is presented,<br>
participants have until the end of the blank screen (1250ms later) to<br>
make a response. I prevously had the inline script following the blank<br>
screen object ("ISI"). I've been reading the critical timing chapter<br>
of the eprime manual which made me concerned that if participants made<br>
a response between 1150 and 1250ms their response will not be scored<br>
with inline code because of the 100ms prerelease on the blank screen.<br>
A complicating factor, is that I can't change the timing of the task<br>
whatsoever, it has an associated fMRI program that it must be tightly<br>
timed with.<br>
<br>
Thanks,<br>
Jim<br>
<font color="#888888"><br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</font></blockquote></div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />