By rlei88 - 8/11/2017
Hi all-
I'm trying to adapt the brief-IAT (BIAT) so that instead of words as attributes, the stimuli are only pictures. I've gone ahead and changed the item type from text to picture, but I'm having trouble with the instruction screens -- it presents the name of the file instead of the picture. So, for example, it'll present black1.bmp, black2.bmp, black3.bmp instead of the pictures themselves.
My guess is that I need to do something with the instruction labels, but can't figure out what i need to do to make the instruction screens display properly.
Any help would be greatly appreciated!
|
By Dave - 8/11/2017
+xHi all- I'm trying to adapt the brief-IAT (BIAT) so that instead of words as attributes, the stimuli are only pictures. I've gone ahead and changed the item type from text to picture, but I'm having trouble with the instruction screens -- it presents the name of the file instead of the picture. So, for example, it'll present black1.bmp, black2.bmp, black3.bmp instead of the pictures themselves. My guess is that I need to do something with the instruction labels, but can't figure out what i need to do to make the instruction screens display properly. Any help would be greatly appreciated! You need to define additional <picture> elements and have the instructions <trial> (<trial testinstructions>) display them. Look at the <picture topFocusInstruct1> to <picture topFocusInstruct4> elements which do this for the _target_ items.
<picture topFocusInstruct1> / valign = bottom / halign = center / position = (35%, 15%) / size = (7%, 7%) / select = 1 </picture> ...
<trial testinstructions> / stimulustimes = [1=testinstructions, topFocusInstructLabel, topFocusInstruct1, topFocusInstruct2, topFocusInstruct3, topFocusInstruct4, orInstruct, bottomFocusInstruct, progress] / correctresponse = (" ") / validresponse = (57) / errormessage = false / recorddata = false </trial>
You need to implement the same approach for the _attribute_ items, i.e. replace <text bottomFocusInstruct> with four distinct <picture> elements. You also need to set the items for those <picture> elements accordingly at the start of the respective <block>s. You can model that after the logic for the already existing topfocusinstruct1 to topfocusinstruct2 picture elements:
<block A> / skip = [parameters.extended == false && block.A.totalcount >=1] / onblockbegin = [values.currentTarget = item.targetALabel.1; ] / onblockbegin = [clear(picture.topfocusInstruct1); picture.topfocusInstruct1.item = item.targetA.1; clear(picture.topFocusInstruct2); picture.topFocusInstruct2.item = item.targetA.2; clear(picture.topFocusInstruct3); picture.topFocusInstruct3.item = item.targetA.3; clear(picture.topFocusInstruct4); picture.topFocusInstruct4.item = item.targetA.4] / trials = [1=testInstructions; 2=showLabels; 3-6 = noreplace(targetARight, targetBLeft); 8,10,12,14,16,18,20,22 = noreplace(targetARight, targetBLeft); 7,9,11,13,15,17,19,21 = noreplace(attributeA, attributeB)] ... </block>
<block B> / skip = [parameters.extended == false && block.B.totalcount >=1] / onblockbegin = [values.currentTarget = item.targetBLabel.1] / onblockbegin = [clear(picture.topfocusInstruct1); picture.topfocusInstruct1.item = item.targetB.1; clear(picture.topFocusInstruct2); picture.topFocusInstruct2.item = item.targetB.2; clear(picture.topFocusInstruct3); picture.topFocusInstruct3.item = item.targetB.3; clear(picture.topFocusInstruct4); picture.topFocusInstruct4.item = item.targetB.4] / trials = [1=testInstructions;2=showLabels; 3-6 = noreplace(targetBRight, targetALeft); 8,10,12,14,16,18,20,22= noreplace(targetBRight, targetALeft); 7,9,11,13,15,17,19,21= noreplace(attributeA, attributeB)] ... </block>
|
By rlei88 - 8/11/2017
+x+xHi all- I'm trying to adapt the brief-IAT (BIAT) so that instead of words as attributes, the stimuli are only pictures. I've gone ahead and changed the item type from text to picture, but I'm having trouble with the instruction screens -- it presents the name of the file instead of the picture. So, for example, it'll present black1.bmp, black2.bmp, black3.bmp instead of the pictures themselves. My guess is that I need to do something with the instruction labels, but can't figure out what i need to do to make the instruction screens display properly. Any help would be greatly appreciated! You need to define additional <picture> elements and have the instructions <trial> (<trial testinstructions>) display them. Look at the <picture topFocusInstruct1> to <picture topFocusInstruct4> elements which do this for the _target_ items. <picture topFocusInstruct1> / valign = bottom / halign = center / position = (35%, 15%) / size = (7%, 7%) / select = 1 </picture> ... <trial testinstructions> / stimulustimes = [1=testinstructions, topFocusInstructLabel, topFocusInstruct1, topFocusInstruct2, topFocusInstruct3, topFocusInstruct4, orInstruct, bottomFocusInstruct, progress] / correctresponse = (" ") / validresponse = (57) / errormessage = false / recorddata = false </trial> You need to implement the same approach for the _attribute_ items, i.e. replace <text bottomFocusInstruct> with four distinct <picture> elements. You also need to set the items for those <picture> elements accordingly at the start of the respective <block>s. You can model that after the logic for the already existing topfocusinstruct1 to topfocusinstruct2 picture elements: <block A> / skip = [parameters.extended == false && block.A.totalcount >=1] / onblockbegin = [values.currentTarget = item.targetALabel.1; ] / onblockbegin = [clear(picture.topfocusInstruct1); picture.topfocusInstruct1.item = item.targetA.1; clear(picture.topFocusInstruct2); picture.topFocusInstruct2.item = item.targetA.2; clear(picture.topFocusInstruct3); picture.topFocusInstruct3.item = item.targetA.3; clear(picture.topFocusInstruct4); picture.topFocusInstruct4.item = item.targetA.4]/ trials = [1=testInstructions; 2=showLabels; 3-6 = noreplace(targetARight, targetBLeft); 8,10,12,14,16,18,20,22 = noreplace(targetARight, targetBLeft); 7,9,11,13,15,17,19,21 = noreplace(attributeA, attributeB)] ... </block> <block B> / skip = [parameters.extended == false && block.B.totalcount >=1] / onblockbegin = [values.currentTarget = item.targetBLabel.1] / onblockbegin = [clear(picture.topfocusInstruct1); picture.topfocusInstruct1.item = item.targetB.1; clear(picture.topFocusInstruct2); picture.topFocusInstruct2.item = item.targetB.2; clear(picture.topFocusInstruct3); picture.topFocusInstruct3.item = item.targetB.3; clear(picture.topFocusInstruct4); picture.topFocusInstruct4.item = item.targetB.4]/ trials = [1=testInstructions;2=showLabels; 3-6 = noreplace(targetBRight, targetALeft); 8,10,12,14,16,18,20,22= noreplace(targetBRight, targetALeft); 7,9,11,13,15,17,19,21= noreplace(attributeA, attributeB)] ... </block> You're a lifesaver Dave. Supreme Being indeed :-)
|
|