nextlabel and duplicated slide problems


Author
Message
Nina Attridge
Nina Attridge
Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)Partner Member (822 reputation)
Group: Forum Members
Posts: 4, Visits: 32
Hello,

I've edited the n-back experiment from the task library to include survey sections and our own instructions and I'm having two problems.

1. On each survey page the button to progress says 'Finish' and I want it to say 'Next'. I've included the line / nextlabel = "Next" in the <surveypage> and <instruct> elements but this hasn't made a difference.

2. Two of my instruction pages are being repeated. I can't see an error in the code but then I'm very new to Inquisit so am probably missing something. I've tried running the experiment on Windows and a Mac and the same thing happens on both. It is the pages immediately before and after the n-back section. I think this is all the relevant code but I've also attached the full script:

<item startendslides>
/1 = "startreal.gif"
/2 = "endtask.gif"
</item>

<picture StartExp_slide>
/ items = startendslides
/ select = 1
/ size = (720, 960)
</picture>

<picture EndExp_slide>
/ items = startendslides
/ select = 2
/ size = (720, 960)
</picture>

<trial StartExp_trial>
/ stimulusframes = [1 = StartExp_slide]
/ validresponse = (57)
/ recorddata = false
</trial>

<trial EndExp_trial>
/ stimulusframes = [1 = EndExp_slide]
/ validresponse = (57)
/ recorddata = false
</trial>

<block StartExp>
/ trials = [1 = StartExp_trial]
/ recorddata = false
/ onblockbegin = [
                  values.TotalHits = 0; 
                  values.TotalFA = 0; 
                  values.TotalBlocks = 0; 
                  values.DV = 0
                  ]
</block>

<block EndExp>
/ trials = [1 = EndExp_trial]
</block>

<block s_ntask>
/ onblockbegin = [values.N = list.Nlevel.nextvalue]
/ onblockbegin = [
                  values.currenttarget = 0; values.minus1 = 0; values.minus2 = 0; values.minus3 = 0; values.minus4 = 0;
                  values.Hits = 0; values.FalseA = 0; values.Misses = 0; values.CorrReject = 0;
                  values.TotalBlocks += 1; 
                  values.starttrialcounter = 0;
                  ]
/ trials = [1 = start; 2 - 31 = noreplace(nontarget, nontarget, target)]
/ screencolor  = (0, 0, 0)

/ branch = [if (values.TotalBlocks < list.Nlevel.itemcount) block.s_ntask
               else block.EndExp]
</block>

Thanks in advance for any help!
Nina

Attachments
Pain and n-back study.zip (182 views, 276.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Nina Attridge - 11 Years Ago
Dave - 11 Years Ago
             Thank you! :)
Nina Attridge - 11 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search