I have finalized an experiment that includes different levels of reinforcement to various cues when a click to the target stimulus is made. I have created all of the possible routines (4 in my screenshotted sample but in reality 16) that can occur in my experiment and can easily duplicate them so that they fit my desired contingencies. Thus for 1 cue that is reinforced 100% of the time I have created 4 routines that are identical, for a different cue that is reinforced 25% of the time, I would create 1 routine where the code for reinforcement exists and 3 others that are identical but I eliminate that code. As I now have 16 routines, I have put them into a loop to be repeated 6 times, but I would like the selection of the presented routine to be random. I have been unable to accomplish this even when I select the “random” setting for my looptype.
I also understand that this is not the most kosher way of creating these types of experiments so have created a version that I think fits the model of how most people create their experiment, but I run into a similar dilemma. Here I have created only 1 routine and linked it to the excel file seen below.
The problem is I do not know how to conditionalize my Code4Response code component so that sometimes it is turned on and sometimes turned off according to the other elements in its row.
Thus my two questions are: 1) Using my messier version, is there a simple way to randomize the selection of the presented routine in a loop and/or 2) is there a way to turn on/off a code component for each trial using the same routine?