Skip to content

Commit 546eccd

Browse files
committed
add ET tag at the trial level
1 parent fa14092 commit 546eccd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

visualLocTranslational.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
% For each event in the block
8181
for iEvent = 1:cfg.design.nbEventsPerBlock
8282

83+
eyeTracker('Message', cfg, ['start_trial-', iEvent, '_', thisEvent]);
84+
8385
% Check for experiment abortion from operator
8486
checkAbort(cfg, cfg.keyboard.keyboard);
8587

@@ -118,7 +120,7 @@
118120

119121
end
120122

121-
eyeTracker('Message', cfg, ['end_block-', iBlock]);
123+
eyeTracker('Message', cfg, ['end_trial-', iEvent, '_', thisEvent]);
122124

123125
% "prepare" cross for the baseline block
124126
% if MT / MST this allows us to set the cross at the position of the next block

0 commit comments

Comments
 (0)