Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
Script sometimes doesn't output last trial
Script sometimes doesn't output last trial
Post Reply
Like
72
Script sometimes doesn't output last trial
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Psych.Lab
Psych.Lab
posted 10 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 1,
Visits: 6
Hi Everyone,
I'm trying to add a simple open ended question at the end of the already existing Flanker Task script I downloaded online. I added this as a block (called
block.donate_intro
) with 1 trial composed of an "openended" question. However, sometimes when I run the script the instruction page appears, but the open ended question doesn't. It doesn't even appear on the output. Other times, however, it runs perfectly.
Am I adding this in the incorrect way? Why is it not working every time?
Attached is my entire script. I hope someone can help!
Thanks!
Attachments
FlankerTask 4.29.14 AJF (second attempt).iqx
(
466 views,
90.00 KB
)
Tags
open ended
Reply
Like
72
Dave
Dave
posted 10 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 103K
The block you added runs one <trial> element, which displays the "instructions":
<block donate_intro>
/trials = [1 = instruct1]
</block>
That <trial> then either does or does not invoke the <openended> element via /branch depending on the response:
<trial instruct1>
/stimulusframes = [1 = instruction1]
/validresponse = (28, 50, 46)
/branch = [if (trial.instruct1.response == 50) openended.donate]
[...]
</trial>
Reply
Like
73
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
72
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search