Alternating Stimuli with Rating pages


Author
Message
ashaw
ashaw
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 5, Visits: 22
Hi! I'm working on an experiment whereby I'm trying to alternate a stimuli page with a rating page.

I know how to do this manually in the block element as follows:
<block>
/trials = [1,3= noreplacenorepeat(practiceTrial); 2,4= likertpracticeTrial]
</block>

However, I'm trying to automate this alternation using a counter since the number of pages that I have to alternate is quite large. 
I tried to define a count using the following code outside of the block:
<values>
count = 1
</values> 

Then I edited the trial code as follows:
<trial practice>
/stimulusframes = [1=practice]
/ontrialbegin = [ values.count + 2]
</trial>

I then edited my block code from above as follows:

<block>
/trials = [values.count= noreplacenorepeat(practiceTrial); 2,4= likertpracticeTrial]
</block>


This count method did not work because Inquisit did not recognize values.count as being an integer and returned an error saying that trial1 was undefined. I I would appreciate any help in figuring out a simpler count method that can automate alternation of the pages.

Thank you!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search