Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
How to control number of items in a trial (newbie question)
How to control number of items in a trial (newbie question)
Post Reply
Like
51
How to control number of items in a trial (newbie question)
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Musashi Jason
Musashi Jason
posted 6 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 61,
Visits: 158
Hello,
I'm ramping up my knowledge with Inquisit 5 but am still very green. I ran across the script attached and am hoping to modify it by adding images to be displayed before auditory stimuli but am stuck at a very trivial point.
I can't figure out why this script runs 20 stimuli for each trial. I know it is likely a very basic question but could someone point me to the location in the script code that makes the experiment run for two sets of 20?
Regards
Jason
P.S. I've already hacked it a bit so this is not identical to the one I found here on the forums.
Attachments
script.iqx
(
628 views,
3.00 KB
)
Reply
Like
51
Dave
Dave
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
Musashi Jason - Thursday, May 10, 2018
Hello,
I'm ramping up my knowledge with Inquisit 5 but am still very green. I ran across the script attached and am hoping to modify it by adding images to be displayed before auditory stimuli but am stuck at a very trivial point.
I can't figure out why this script runs 20 stimuli for each trial. I know it is likely a very basic question but could someone point me to the location in the script code that makes the experiment run for two sets of 20?
Regards
Jason
P.S. I've already hacked it a bit so this is not identical to the one I found here on the forums.
So, there's a <block>
<block SRTTblock>
/ onblockbegin = [
text.focus.textcolor = parameters.screencolor;
text.focus.textbgcolor = parameters.screencolor;
block.SRTTblock.screencolor = parameters.screencolor;
]
/ trials = [1 = SRTT]
/ preinstructions = (instruct)
/ postinstructions = (feedback)
/ stop = [trial.SRTT.count == parameters.maxtrialnumber]
</block>
with a /stop condition: If the number of instances of <trial SRTT> is equal to parameters.maxtrialnumber, the block terminates. That parameter is set to 20
<parameters>
/targetspeaker = -10000
/volumeadjust = 0
/maxtrialnumber = 20
/screencolor = white
/speakerfixed = 0
/volumefixed = 0
</parameters>
Reply
Like
54
Musashi Jason
Musashi Jason
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 61,
Visits: 158
+
x
Dave - Thursday, May 10, 2018
+
x
Musashi Jason - Thursday, May 10, 2018
Hello,
I'm ramping up my knowledge with Inquisit 5 but am still very green. I ran across the script attached and am hoping to modify it by adding images to be displayed before auditory stimuli but am stuck at a very trivial point.
I can't figure out why this script runs 20 stimuli for each trial. I know it is likely a very basic question but could someone point me to the location in the script code that makes the experiment run for two sets of 20?
Regards
Jason
P.S. I've already hacked it a bit so this is not identical to the one I found here on the forums.
So, there's a <block>
<block SRTTblock>
/ onblockbegin = [
text.focus.textcolor = parameters.screencolor;
text.focus.textbgcolor = parameters.screencolor;
block.SRTTblock.screencolor = parameters.screencolor;
]
/ trials = [1 = SRTT]
/ preinstructions = (instruct)
/ postinstructions = (feedback)
/ stop = [trial.SRTT.count == parameters.maxtrialnumber]
</block>
with a /stop condition: If the number of instances of <trial SRTT> is equal to parameters.maxtrialnumber, the block terminates. That parameter is set to 20
<parameters>
/targetspeaker = -10000
/volumeadjust = 0
/maxtrialnumber = 20
/screencolor = white
/speakerfixed = 0
/volumefixed = 0
</parameters>
Dave,
Thanks, once again, for your excellent help. I was afraid it was going to be something painfully simple. :-/ I don't know why I didn't think to simply search for "20" in the script. Sorry for taking your time but thank you very much for your patient help.
Regards
Jason
Reply
Like
45
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
51
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search