Block keeps looping and never stops


Author
Message
***JayD***
***JayD***
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Forum Members
Posts: 17, Visits: 67
Hi,

I wanted to ask about a problem I've been having wherein when I run my expt. my first block just loops and never seems to end. I only have 34 trials (wrote in 'sequence') but so far have recorded those same trials being repeated until Inquisit seemingly crashed at 148 consecutive trials. I've attached the end of my script below (Blocks and Expt.):

<block practice_1>
/ preinstructions = (practice_1)
/ trials = [1-4 = random (HRT1,HRT4,LRT2,LRT7)]
</block>

*****************
<block 1>
/ preinstructions = (instructions_1; instructions_2)
/ trials = [1-34 = sequence (HRT2, LRT14, LRT15, HRT4, HRT11, LRT3, LRT16, HRT16, LRT5, HRT9, HRT15, LRT8, HRT1, LRT1, HRT8, LRT17, HRT5, HRT17, HRT12, LRT10, LRT12, HRT14, LRT4, HRT18, LRT9, LRT18, LRT7, HRT13, HRT3, HRT7, LRT2, LRT13, LRT6, HRT10)]
</block>

<block 2>
/ preinstructions = (block2_break)
/ trials = [1-34 = sequence (HRT12, LRT8, LRT3, HRT10, HRT13, LRT5, HRT11, HRT14, LRT17, LRT12, LRT1, LRT4, HRT15, LRT7, LRT9, HRT9, HRT17, LRT10, LRT18, LRT15, LRT11, HRT6, HRT1, LRT13, HRT3, HRT4, HRT16, HRT5, LRT14, LRT16, HRT8, LRT2, HRT2, HRT18)]
</block>

*************************************************************** EXPERIMENTS ***********************************************************************

<expt 1>
/ blocks = [1= practice_1; 2=1; 3=2]
</expt>

The 'practice_1' block works fine, but then block '1' continually repeats and block '2' never begins (I've checked the output and all of the trials are from '1'). I've also attached the script in case I've not given enough info here.

Any advice is massively appreciated!

Cheers,

Jay 


Attachments
Task.zip (235 views, 32.00 KB)
Dave
Dave
Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)
Group: Administrators
Posts: 9.9K, Visits: 49K

/ trials = [1-34 = sequence (HRT2, LRT14, LRT15, HRT4, HRT11, LRT3, LRT16, HRT16, LRT5, HRT9, HRT15, LRT8, HRT1, LRT1, HRT8, LRT17, HRT5, HRT17, HRT12, LRT10, LRT12, HRT14, LRT4, HRT18, LRT9, LRT18, LRT7, HRT13, HRT3, HRT7, LRT2, LRT13, LRT6, HRT10)]

Means "run the entire specified sequence 34 times", i.e., your block will run 34 x 34 = 1156 trials. The proper syntax is

/ trials = [1 = sequence (HRT2, LRT14, LRT15, HRT4, HRT11, LRT3, LRT16, HRT16, LRT5, HRT9, HRT15, LRT8, HRT1, LRT1, HRT8, LRT17, HRT5, HRT17, HRT12, LRT10, LRT12, HRT14, LRT4, HRT18, LRT9, LRT18, LRT7, HRT13, HRT3, HRT7, LRT2, LRT13, LRT6, HRT10)]
***JayD***
***JayD***
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Forum Members
Posts: 17, Visits: 67
Ah, I had no idea! Thanks a lot, Dave!
Dave
Dave
Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)Supreme Being (776K reputation)
Group: Administrators
Posts: 9.9K, Visits: 49K
Glad to help. And yes, it's not entirely obvious that this is the intended behavior of sequence() when used in the a <block>'s /trials attribute or an <expt>'s /blocks attribute.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search