-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhexidecimal TTL key.txt
44 lines (40 loc) · 1.97 KB
/
hexidecimal TTL key.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
TTL pulse marking start of the practice block (line 327) = 20
TTL pulse marking start of option presentation (line 355) = 30
TTL pulse marking start of response window (line 378) = 31
TTL pulse marking start of ISI (line 403) = 32
TTL pulse marking outcome presentation (line 476) = 40
TTL pulse marking start of ITI (line 499) = 41
TTL pulse marking end of practice block (line 520) = 21
TTL pulse marking start of the actual study (684) = 50
TTL pulse marking screen flip that shows choice options (line 659) = 60
TTL pulse marking start of the response window (line 704) = 61
TTL pulse marking end of the response window (line 725) = 62
TTL pulse marking start of the outcome epoch (line 778) = 70
TTL pulse marking end of outcome epoch (line 801) = 71
TTL pulse marking end of the study (line 825) = 51
EMOTION TASKS:
%% Note that the task event codes are shared between all emotion studies,
%% but may mean slightly different things depending on the task (as noted).
%% Each different task has a unique identifier as the first TTL.
%% Task event codes:
TTL pulse marking task start = 19
TTL pulse marking word/image shown = 29
TTL pulse marking first fixation cross shown (read, speak, execute, n-back) OR multiple choices shown (name3, name7) = 39
TTL pulse marking speak/execute cue (read, speak, execute) OR response made (name3, name7, n-back) = 49
TTL pulse marking second fixation cross shown (speak, execute) = 59
TTL pulse marking audio recording start = 69
TTL pulse marking audio recording stop = 79
TTL pulse marking video recording start (first frame) = 89
TTL pulse marking the 1000th video frame = 99
%% Task identifier codes
"Read" Task = 191
"Speak" Task = 192
"Execute" Task = 193
"Name 3" Task = 194
"Name 7" Task = 195
"N-Back" Task = 196
Replaced all %DatapixxAOttl();
with:
write(device,sprintf("mh%c%c", 20, 0), "char");
where '20' changes based on TTL signature desired
NOTE: Cedrus code numbers must be < 256 (cedrus only sends an 8-bit number)