Group: Forum Members
Posts: 5,
Visits: 19
|
Hi,
I’m trying to call a list of shapes using stimulus frames within trials as follows in a dot probe type task, but I keep getting the error 'could not locate list.listname', it's a long script, but the key elements are below
KEY SCRIPT
<shape pain30hzUP> /position = (50, values.probeUP) /shape = rectangle /color = mediumturquoise /size = (20%, 10%) </shape>
<shape painoff> /position = (0,0) /shape = rectangle /color = (127,127,127) /size = (20%, 10%) </shape>
<list pain30hzUP> /items = (shape.pain30hzUP, shape.painoff, shape.pain30hzUP, shape.painoff) /select=sequence </list>
<shape control15hzDOWN> /position = (50, values.probeDOWN) /shape = rectangle /color = mediumturquoise /size = (20%, 10%) </shape>
<shape controloff> /position = (0,0) /shape = rectangle /color = (127,127,127) /size = (20%, 10%) </shape>
<list control15hzDOWN> /items = (shape.control15hzDOWN, shape.control15hzDOWN, shape.controloff, shape.controloff) /select=sequence </list>
<trial sensory_CONGUP> /stimulusframes = [1-60 = whitescreen, list.pain30hzUP, list.control15hzDOWN, sensorywords_CONGUP, sensorycontrol_CONGUP] /inputdevice = keyboard /correctresponse = (noresponse) /trialduration = 1000 /ontrialend = [values.currenttarget = text.sensorywords_CONGUP.currentitem] /ontrialend = [values.currentfoil = text.sensorycontrol_CONGUP.currentitem] </trial>
----
If I run it with just the elements it works fine:
<trial sensory_CONGUP> /stimulusframes = [1-60 = whitescreen, shape.pain30hzUP, shape.control15hzDOWN, sensorywords_CONGUP, sensorycontrol_CONGUP] /inputdevice = keyboard /correctresponse = (noresponse) /trialduration = 1000 /ontrialend = [values.currenttarget = text.sensorywords_CONGUP.currentitem] /ontrialend = [values.currentfoil = text.sensorycontrol_CONGUP.currentitem] </trial>
So everything else seems two be working, I just can't call the list, which I want to use to alternate the shapes appearing at different frequencies.
Thanks in advance, Ben
(PS - a workaround would be if if there was a shape attribute that would allow me to pulse the shape on and off at a certain frequency, but I take it that's not possible?)
|