Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 6
»
Problem passing batch parameters and values
Problem passing batch parameters and values
Post Reply
Like
3
Problem passing batch parameters and values
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
empra-uulm
empra-uulm
posted 4 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 29,
Visits: 86
Hi,
we have an experiment which contains multiple tests. Which subset of tests is presented to a specific participant depends on a testgroup variable which is chosen at the beginning and passed on afterwards.
The batch looks like this:
<parameters>
/ testgroup = 0
/ vpcode_hd2 = 0
</parameters>
<values>
/ testgroup_selected = 0
/ vpcode_hd1 = 0
</values>
<batch multigroup>
/ file = "group.iqx"
/ file = "vpcode.iqx"
/ file = "ulkabe_binding_28_09_2021.iqx"
/ file = "ulkabe_rwm_28_09_2021.iqx"
/ file = "ulkabe_updating_28_09_2021.iqx"
/ file = "gc_deutsch.iqx"
/ file = "gc_mathe.iqx"
/ onscriptend = [
if (batch.multigroup.currentscript == "group.iqx")
{
parameters.testgroup = values.testgroup_selected;
}
]
/ onscriptend = [
if (batch.multigroup.currentscript == "vpcode.iqx")
{
parameters.vpcode_hd2 = values.vpcode_hd1;
}
]
</batch>
The expt part of each test looks a bit like this - depending on the group variable defined at the beginning, the script is run or not.
<expt>
/ onexptbegin = [if (parameters.testgroup == 1) ]
/ onexptbegin = [if (parameters.testgroup == 2) script.abort(false)]
/ onexptbegin = [if (parameters.testgroup == 3) script.abort(false)]
/ onexptbegin = [if (parameters.testgroup == 4) ]
/ onexptbegin = [if (parameters.testgroup == 5) script.abort(false)]
/ onexptbegin = [if (parameters.testgroup == 6) script.abort(false)]
/ onexptbegin = [if (parameters.testgroup == 7) ]
/ blocks = [1 = instruktion;
2 = block_practice1;
3 = block_practice2;
...
</expt>
The design looks like this:
Design
The problem we have is that in testgroup 4 and 7, the experiment ends after the updating test is finished. The subsequent experiments are loaded but not run, as if the testgroup parameter is not passed on correctly. The experiment just ends without an error message. We tried to track down where the error might occur but can't figure it out.
Do you have any idea?
Here's the updating script:
Updating
and here's the entire test (55 MB):
Complete
Thanks!
Reply
Like
3
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Problem passing batch parameters and values
empra-uulm
-
4 Years Ago
Your design graphic does not match the code. The "updating" script is...
Dave
-
4 Years Ago
Hi Dave, you are right - this was a mistake from our side, as we...
empra-uulm
-
4 Years Ago
Well, you have this in your updating script: <block block_end>...
Dave
-
4 Years Ago
Ugh - great! Seems like we were routine-blinded. Thank you, now...
empra-uulm
-
4 Years Ago
Post Reply
Like
3
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search