Group: Forum Members
Posts: 42,
Visits: 220
|
Hey Inquisiters, I'm trying to have my experiment terminate itself after expt.name.elapsedtime becomes > a certain duration. I tried doing the following.
<trial> ... /branch = [if (expt.myexpt.elapsedtime < 810000) block.theblock)] </trial> <exp myexptt> /blocks [1 = theblock] </expt>
This is giving me the error that block.theblock is the wrong element type. I suspect that is because I am trying to branch to a block from a trial? I have to code my experiment this way b/c my trials refresh on each button press (fills a bar). So I have blocks as my "trials". Is there a way to 'break' the experiment with a certain command or to branch to a block from a trial? Maybe there is something I am missing.
Thanks for your time, Dan
|