select trials

wangjing's Avatar

wangjing

22 Sep, 2014 02:07 PM

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,

  1. Support Staff 1 Posted by Christopher Sta... on 22 Sep, 2014 03:39 PM

    Christopher Stawarz's Avatar

    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

  2. 2 Posted by wangjing on 22 Sep, 2014 07:17 PM

    wangjing's Avatar

    great. thanks!

  3. Christopher Stawarz closed this discussion on 22 Sep, 2014 07:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac