|
Post by thirza on Apr 26, 2021 8:56:07 GMT
block trainingBlock1 maxtime 10m tasklist training_1 8 all_before_repeat training_2 8 all_before_repeat endinsert code here Hi!
I have the following block, containing two lists: Training_1 and training_2 are both drawn from a table and this should be drawn randomly, however showing every line (8) once.
The problem that I encounter is that the training_1 and training_2 should always be run sequentially. So: training_1 - training_2 - training_1 - training_2 - training_1 - training_2 - ..... etcetera for a duration of 10 minutes.
When I run the current script, the training_1 and training_2 tasks run randomly through each other.
How can I fix the training_1 - training_2 order within the block, keeping the random order within the training tasks? I do not want to split them up in different blocks since later on, I am going to have to randomize the blocks.
Hope someone can help, thanks in advance!
|
|
|
Post by matia on Apr 28, 2021 7:42:34 GMT
Hello,
I am not 1oo% on this, but I am not aware of a command that would do what you wish. From my understanding, the blockorder is intended to resolve this specific issues. Even if You wish to randomize the blocks, you can still have blockorder 1 2; or blockorder 2 1...
Perhaps this would mean more writing (larger code) but you can be confident that there is a solution to your problem.
Best, Matia
|
|
tfi
New Member
Posts: 14
|
Post by tfi on Aug 26, 2022 0:54:03 GMT
Hi there,
How would you code for there to be two block orders?
I have this but my script wont compile and hasnt outlined the issue
Thanks!
block mix_compatible message ready set &order 1 ## order 1 means: black=left,white=right set &iat_effect expression &meanrt_inc - &meanrt_com ##comparison between both tasklist black_white_pleasant_unpleasant 4 all_before_repeat #where the task is end feedback set &meanrt_com mean c4 ; select c5 == 1 && c2 == 3 text 0 100 "press space to continue" end set &order 2 ## order 2 means: black=left,white=right set &iat_effect expression &meanrt_inc - &meanrt_com ##comparison between both tasklist black_white_pleasant_unpleasant 4 all_before_repeat #where the task is end feedback set &meanrt_com mean c4 ; select c5 == 1 && c2 == 3 text 0 100 "This is the end of the test. Press space bar for the next test" end
block mix_incompatible message ready set &order 2 ## order 2 means: black=right,white=left set &iat_effect expression &meanrt_inc - &meanrt_com ##comparison between both tasklist black_white_pleasant_unpleasant 4 all_before_repeat end feedback set &meanrt_inc mean c4 ; select c5 == 1 && c2 == 5 text 0 100 "Press space bar to contnue" end set &order 1 ## order 1 means: black=left,white=right set &iat_effect expression &meanrt_inc - &meanrt_com ##comparison between both tasklist black_white_pleasant_unpleasant 4 all_before_repeat end feedback set &meanrt mean c4 ; select c5 == 1 && c2 == 4 text 0 100 "This is the end of the test. Press space bar for the next test" end
|
|
tfi
New Member
Posts: 14
|
Post by tfi on Aug 26, 2022 2:26:18 GMT
Is it possible for there to be 2 block orders?
|
|