Problem passing batch parameters and values


Author
Message
empra-uulm
empra-uulm
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
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!








GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search