|
80 | 80 | % For each event in the block |
81 | 81 | for iEvent = 1:cfg.design.nbEventsPerBlock |
82 | 82 |
|
83 | | - eyeTracker('Message', cfg, ['start_trial-', iEvent, '_', thisEvent]); |
| 83 | + eyeTracker('Message', cfg, ['start_trial-', num2str(iEvent), '_', thisEvent.trial_type]); |
84 | 84 |
|
85 | 85 | % Check for experiment abortion from operator |
86 | 86 | checkAbort(cfg, cfg.keyboard.keyboard); |
|
116 | 116 | triggerString = ['trigger_' cfg.design.blockNames{iBlock}]; |
117 | 117 | saveResponsesAndTriggers(responseEvents, cfg, logFile, triggerString); |
118 | 118 |
|
| 119 | + eyeTracker('Message', cfg, ['end_trial-', num2str(iEvent), '_', thisEvent.trial_type]); |
| 120 | + |
119 | 121 | waitFor(cfg, cfg.timing.ISI); |
120 | 122 |
|
121 | 123 | end |
122 | 124 |
|
123 | | - eyeTracker('Message', cfg, ['end_trial-', iEvent, '_', thisEvent]); |
124 | | - |
125 | 125 | % "prepare" cross for the baseline block |
126 | 126 | % if MT / MST this allows us to set the cross at the position of the next block |
127 | 127 | if iBlock < cfg.design.nbBlocks |
|
133 | 133 | drawFixation(thisFixation); |
134 | 134 | Screen('Flip', cfg.screen.win); |
135 | 135 |
|
| 136 | + eyeTracker('Message', cfg, ['end_block-', num2str(iBlock)]); |
| 137 | + |
136 | 138 | waitFor(cfg, cfg.timing.IBI); |
137 | 139 |
|
138 | 140 | % trigger monitoring |
|
0 commit comments