Jittering a trial with conditional branching


Author
Message
jfanderson
jfanderson
Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)Partner Member (753 reputation)
Group: Forum Members
Posts: 5, Visits: 12
Hello,

I'm working on a script and would like to add in a jitter to the pretrial pause. However, the jitter isn't executing and I am instead seeing all trials last exactly 2000ms (the upper limit of the range).

The trial should start with a pause ranging between 100 and 2000 milliseconds, then execute the stimulus sequence, then timeout and branch to the next trial based on a list.

<trial player1turninclusion3to1>
/ pretrialpause = replace(100-2000)
/ stimulustimes = [1=ball3, blank2, blank1; 100=blank3, ball1to3e; 200=blank1to3e; 220=ball1to3d; 320=blank1to3d; 340=ball1to3c; 440=blank1to3c; 460=ball1to3b; 560=blank1to3b; 580=ball1to3a; 680=blank1to3a; 700=ball1]
/ validresponse = (noresponse)
/ timeout = 800
/ branch = [if (counter.inclusionplayer1.selectedvalue == 2) trial.player2turninclusion1to2]
/ branch = [if (counter.inclusionplayer1.selectedvalue == 3) trial.yourturninclusion1to3]
</trial>

Any idea why the pretrialpause isn't jittering?

Thanks!
Jason
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search