Running a block/trial AMP in a longer survey


Author
Message
kelslm
kelslm
Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)Associate Member (72 reputation)
Group: Forum Members
Posts: 1, Visits: 8
Using some of the sample scripts, I created a survey for my lab that mainly uses surveypages to run.  
<surveypage QUES1>
/subcaption = "Text"
/subcaptionfontstyle = ("Arial", etc.)
</surveypage>

At the bottom of the completed survey, I have:
<survey TITLE>
/pages = [1 = QUES1; 2 = QUES2; etc.]
</survey>

For the new year, my professor wants me to add an AMP to the already established survey, which based upon the downloadable AMP, is based around trials and blocks:
<trial primeA>
/validresponse = ("E", "I")
/correctresponse = ("I")
/stimulustimes = [0=primeA; 75=blank; 200=target; 300=blank]
/trialdata = [primeA, target]
</trial>
(etc.)

<block test1>
/bgstim = (attributeAlabel, attributeBlabel)
/trials = [1 = instructions; 2-16 = noreplace(primeA, primeB, primeC, primeNeutral)]
</block>

I need the survey to run in a certain order, with the new AMP code fitting between two surveypages, e.g.:

<survey TITLE>
/pages = [1 = QUES1; 2 = AMP; 3 = QUES2; etc.]
</survey>

However, I cannot figure out how to get the trial/block format to run in the surveypages order.  Is there any way to fix this without completely revamping the old survey?

Thank you


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
<survey> elements are <block> elements. If you want everything in a single script, you need to edit the AMP's <expt> element's /blocks attribute to run the <survey> elements at the desired spots.

<surveypage> elements, conversely, are a special <trial> elements. They can thus be run via a <block> elment's /trials attribute (as an alternative to running them via a <survey>'s /pages attribute).

Other options exist. For a comprehensive overview see the "How to Combine Multiple Scripts" and "Running Sequences of Inquisit Scripts and Other Applications" topics in the Inquisit documentation.

Edited 11 Years Ago by Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search