Reply To: Choosing subet of items to present

PennController for IBEX Forums Support Choosing subet of items to present Reply To: Choosing subet of items to present


Hi Jeremy,

Thanks so much! This works pretty much how I need, I did have to switch around a couple things. Mainly I want all the “Train” to go first in a block then all the “Test” so I took out the rshuffle(…) but that was easy.

Now I’m having a problem where I want to do slightly different key presses depending on if its a “train” or “test.” For the train words, I just display the word, for the test words, I ask want to get user input. Based on how we set it up, each block is (hopefully) guaranteed to have 12 words in it so I am keeping a global counter variable that just switches off every 12 words the action (see below). However, this isn’t working. The counter is not actually incrementing and it is stuck on the “failure” option, any idea why?

Also if you have a better way to implement this, let me know (I feel like its too “hardcoded” if you know what I mean…)
Thank you for the continued help, I really appreciate it!!



PennController("pause", newButton("Take a break").print().wait() );

PennController.Template( "statTableRandom.csv" , row =>
    newTrial( addItem(row.Type) ,
                newKey(" ").wait()