Group: Forum Members
Posts: 13,
Visits: 37
|
Hi, We are showing 16 blocks, with 8 images presented in each block (this is the same image shown 8 times). The images are facial expressions shown by a child’s caregiver and a stranger, so that: Block HC = Happy Caregiver. The same image is shown 8 times, before another block is shown in randomized order. For your reference: HS = Happy Stranger FC = Fearful Caregiver FS = Fearful Stranger AC = Anger Caregiver AS = Anger Stranger NC = Neutral Caregiver NS = Neutral Stranger
The trial starts with a fixation cross (1000ms), followed by the image (3000ms), and an inter-trial interval (1000ms). We have loop/s now working where we press 1 to initiate a looming ball (to grab attention of child if they are not looking at the screen) and space to initiate a trial. However, our Neutral Stranger block/trials keep playing beyond the 8 times we would like it to be shown. We think that this has to do with the line of code below; however, unsure how to best fix this. Thank you! <trial ITI> / stimulusframes = [1 = picture.fixation] /trialduration = parameters.ITI / ontrialend = [ trial.ITI.resetstimulusframes(); ] /recorddata = false / branch = [ if (script.currentblock== "HC") trial.HC if (script.currentblock =="HS") trial.HS; if (script.currentblock =="AC") trial.AC; if (script.currentblock =="AS") trial.AS; if (script.currentblock =="FC") trial.FC; if (script.currentblock =="FS") trial.FS; if (script.currentblock =="NC") trial.NC; else if (script.currentblock =="NS") trial.NS; ] </trial> <trial blank> / stimulusframes = [1 = picture.blank] /trialduration = parameters.ITI / ontrialend = [ trial.blank.resetstimulusframes(); ] /recorddata = false / branch = [ trial.start ] </trial> <trial start> / validresponse = (20,2) / branch = [ if (trial.start.response == 2) trial.ball else if (trial.start.response == 20) trial.ITI; ] / recorddata = false </trial> <trial ball> / stimulusframes = [1 = video.ballani] / validresponse = (20) / branch = [ trial.start; ] / recorddata = false </trial>
|