Inline script to terminate list object not working

268 views
Skip to first unread message

Bartz Lab

unread,
Feb 6, 2017, 10:17:41 AM2/6/17
to E-Prime

I'm trying to terminate a List Object once a participate makes a response. 


I have a list object (MorphList) that specifies which image to show on each trial of the procedure (MorphProc). Within MorphProc, I have an Image Display object (MorphImage) that shows an image for 1000ms and I have the keyboard set as an input mask. The only allowable input is "b" and the correct response is "b". The MorphList continues to present images until the participant presses the "b" key. After the MorphImage object, I have an inline script with the following statement (taken from e-prime's help website): 


If MorphImage.ACC = 1 Then 
MorphList.Terminate 
End If


However, this script does not seem to be working. I've tried replacing the MorphImage.ACC = 1 with MorphImage.RESP = "b" and that doesn't work either. I'm also not getting an error message when I run the experiment so I'm not sure what I'm doing wrong.


Any help with this issue will be greatly appreciated!


Sonia

David McFarlane

unread,
Feb 6, 2017, 1:32:32 PM2/6/17
to e-p...@googlegroups.com
Sonia,

Looks like yet another instance of someone getting bitten by the "new"
default PreRelease = "same as duration" (which generally does more good
than harm, but it does have this "gotcha"). Please see
http://www.pstnet.com/support/kb.asp?TopicID=2627 .

---------------
David McFarlane
E-Prime training online:
http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster)

Bartz Lab

unread,
Feb 8, 2017, 11:29:40 AM2/8/17
to E-Prime
Thank you for your help David!
Reply all
Reply to author
Forward
0 new messages