Group: Administrators
Posts: 13K,
Visits: 101K
|
Assuming you did something like
<expressions> / getlossdeck1 = sequence(0, 0, 0, 0, 0, 0, 0, 0, 0, 1250) / getlossdeck2 = sequence(0, 0, 0, 0, 0, 150, 200, 250, 300, 350) / getlossdeck3 = sequence(0, 0, 0, 0, 0, 0, 50, 50, 50, 50) / getlossdeck4 = sequence(0, 0, 0, 0, 0, 0, 0, 0, 0, 250) </expressions>
there is no reason why the decks should be "in sync". If e.g. "deck 1" is selected <trial igt> ... / ontrialend = [ if (trial.igt.response == "deck1") {... ; values.loss=expressions.getlossdeck1; ...}] ... </trial>
A single sample is retrieved from expressions.getlossdeck1. The remaining expressions are (supposed to be) wholly unaffected -- no samples are retrieved.
The quickest, but somewhat hack-ish, way to change that is to retrieve a sample from *every* expression regardless of the deck chosen:
<trial igt> ... / ontrialend = [ if (trial.igt.response == "deck1") {... ; values.loss=expressions.getlossdeck1; expressions.getlossdeck2; expressions.getlossdeck3; expressions.getlossdeck4;...}] / ontrialend = [ if (trial.igt.response == "deck2") {... ; values.loss=expressions.getlossdeck2; expressions.getlossdeck1; expressions.getlossdeck3; expressions.getlossdeck4;...}] ... </trial>
|