Select trials

Hi Chris,
Another silly question is about selecting trials/ task system based on condition instead of predefined numbers or sequence.

In my case, shown the organization below, I initially wrote a task system for eye timing trial, and later copy to hand trials. they are basically identical states except few variable names. Is there a way to select certain trial/task system in runtime? thanks,

Attachment: Untitled.png (48.3 KB)

Hi Jing,

Probably the easiest way to do this is to add an additional state at the beginning of each of the two task systems. In that state, check the trial type. If the type matches the task system, continue to the “real” start state; otherwise, exit the task system.

I’ve attached an example demonstrating this organization.

Cheers,
Chris

Attachment: choose_trial_type.xml (3.53 KB)

great. thanks!