Skip to content

Commit

Permalink
Fixing trigger issue for auditory 2-back
Browse files Browse the repository at this point in the history
deleting "target non-target" from visual verbal
  • Loading branch information
DouweHorsthuis committed Dec 9, 2021
1 parent ed4c7a6 commit 2c0418a
Show file tree
Hide file tree
Showing 28 changed files with 260 additions and 304 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ trial{ # the first stim is too quick if there is no delay. This trial puts 2sec
stimulus_event {
nothing{};
deltat=500;
code = "201 start recording";
#code = "201 start recording";
port_code = 201;
}code_event;
}wait_trial;
Expand Down
3 changes: 2 additions & 1 deletion src/Auditory/Presentation Files/0 back Auditory.pcl
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,5 @@ begin
t_trial.present();
end;
ii=ii+1;
end;
end;
end_trial.present();
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ trial{ # the first stim is too quick if there is no delay. This trial puts 2sec
stimulus_event {
nothing{};
deltat=500;
code = "201 start recording";
#code = "201 start recording";
port_code = 201;
}code_event;
}wait_trial;
Expand Down
3 changes: 2 additions & 1 deletion src/Auditory/Presentation Files/1 back Auditory.pcl
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,5 @@ begin
t_trial.present();
end;
ii=ii+1;
end;
end;
end_trial.present();
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ trial{ # the first stim is too quick if there is no delay. This trial puts 2sec
nothing{};
deltat=500;
code = "201 start recording";
port_code = 201;
#port_code = 201;
}code_event;
}wait_trial;

Expand Down
7 changes: 4 additions & 3 deletions src/Auditory/Presentation Files/2 back Auditory.pcl
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ until
ii > ntrls
begin
if t_or_nt[ii]== 1 || ii< 10 then #non-target + not first 5 trials
port_code_sounds[ii]=11; #0-back
#port_code_sounds[ii]=11; #0-back
#port_code_sounds[ii]=21; #1-back
#port_code_sounds[ii]=31; #2-back
port_code_sounds[ii]=31; #2-back
letter = random(1,26);
if letter_sound[letter]==my_sounds[ii-1] || letter_sound[letter]==my_sounds[ii-2] || letter_sound[letter]==my_sounds[ii-3] || letter_sound[letter]==my_sounds[ii-4] then
loop #if it's the same
Expand Down Expand Up @@ -107,4 +107,5 @@ begin
t_trial.present();
end;
ii=ii+1;
end;
end;
end_trial.present();
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
<il>0</il>
<ivm>0</ivm>
<mtype>dig</mtype>
<piai>LPT3</piai>
<piai>LPT1</piai>
<pian>Parallel Port</pian>
<pihpn>LPT3</pihpn>
<pihpn>LPT1</pihpn>
<pindex>1</pindex>
<rs>1</rs>
<rt>0</rt>
Expand Down Expand Up @@ -545,7 +545,7 @@
<sde>
<buffer_length>1000</buffer_length>
<custom_buf>primary</custom_buf>
<default>0</default>
<default>1</default>
<dup_channels>0</dup_channels>
<ex_period>0</ex_period>
<halt_on_underrun>1</halt_on_underrun>
Expand All @@ -557,7 +557,7 @@
<side_speakers>1</side_speakers>
<use_rewind_distance>0</use_rewind_distance>
</sde>
<sdv>Speakers (2- Sound Blaster Audigy 5/Rx)</sdv>
<sdv>Primary Sound Driver</sdv>
<show_dis>1</show_dis>
<show_parm>1</show_parm>
<show_term>1</show_term>
Expand Down
10 changes: 5 additions & 5 deletions src/Auditory/Presentation Files/N back Auditory.exp
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@
<il>0</il>
<ivm>0</ivm>
<mtype>dig</mtype>
<piai>LPT3</piai>
<piai>LPT1</piai>
<pian>Parallel Port</pian>
<pihpn>LPT3</pihpn>
<pihpn>LPT1</pihpn>
<pindex>1</pindex>
<rs>1</rs>
<rt>0</rt>
Expand Down Expand Up @@ -547,7 +547,7 @@
<sde>
<buffer_length>1000</buffer_length>
<custom_buf>primary</custom_buf>
<default>0</default>
<default>1</default>
<dup_channels>0</dup_channels>
<ex_period>0</ex_period>
<halt_on_underrun>1</halt_on_underrun>
Expand All @@ -559,7 +559,7 @@
<side_speakers>1</side_speakers>
<use_rewind_distance>0</use_rewind_distance>
</sde>
<sdv>Speakers (2- Sound Blaster Audigy 5/Rx)</sdv>
<sdv>Primary Sound Driver</sdv>
<show_dis>1</show_dis>
<show_parm>1</show_parm>
<show_term>1</show_term>
Expand Down Expand Up @@ -590,7 +590,7 @@
<vt>0</vt>
</trigger_mode>
<udt>0</udt>
<ulo>1ms between stim and trigger tested on 8/5/2021 in Adult booth Right</ulo>
<ulo>1ms between stim and trigger tested on11/22/2021 in KL data collected in Kids Booth Left</ulo>
<unc>0</unc>
<upb>0</upb>
<urp>0</urp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
1
1
1
2
1
1
2
1
1
1
1
2
1
1
1
1
1
2
1
1
1
2
1
1
2
Expand All @@ -30,51 +30,51 @@
2
1
1
2
1
1
1
2
1
1
1
1
2
1
1
2
1
1
1
1
2
1
1
2
1
1
1
2
1
1
2
1
1
2
1
1
2
1
1
1
2
1
1
1
2
1
1
1
1
2
1
1
1
2
1
1
1
1
Expand All @@ -85,7 +85,7 @@
1
1
1
2
1
1
1
1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
<il>0</il>
<ivm>0</ivm>
<mtype>dig</mtype>
<piai>LPT3</piai>
<piai>LPT1</piai>
<pian>Parallel Port</pian>
<pihpn>LPT3</pihpn>
<pihpn>LPT1</pihpn>
<pindex>1</pindex>
<rs>1</rs>
<rt>0</rt>
Expand Down Expand Up @@ -300,48 +300,6 @@
<name>HID-compliant mouse</name>
</device>
<device>
<abs_axis>
<dead_zone>0</dead_zone>
<max>1000</max>
<min>-1000</min>
<name>X-axis</name>
<saturation>1</saturation>
</abs_axis>
<abs_axis>
<dead_zone>0</dead_zone>
<max>1000</max>
<min>-1000</min>
<name>Y-axis</name>
<saturation>1</saturation>
</abs_axis>
<axis>
<max>1000</max>
<min>-1000</min>
<name>X-axis</name>
<restricted>1</restricted>
<scale>1</scale>
</axis>
<axis>
<max>1000</max>
<min>-1000</min>
<name>Y-axis</name>
<restricted>1</restricted>
<scale>1</scale>
</axis>
<axis>
<max>1000</max>
<min>-1000</min>
<name>Wheel</name>
<restricted>1</restricted>
<scale>1</scale>
</axis>
<device_type>2</device_type>
<dx_device_type>0</dx_device_type>
<max_raw_pos>65535</max_raw_pos>
<min_raw_pos>0</min_raw_pos>
<name>HID-compliant mouse 1</name>
</device>
<device>
<axis>
<dead_zone>0</dead_zone>
<max>1000</max>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
<il>0</il>
<ivm>0</ivm>
<mtype>dig</mtype>
<piai>LPT3</piai>
<piai>LPT1</piai>
<pian>Parallel Port</pian>
<pihpn>LPT3</pihpn>
<pihpn>LPT1</pihpn>
<pindex>1</pindex>
<rs>1</rs>
<rt>0</rt>
Expand Down Expand Up @@ -300,48 +300,6 @@
<name>HID-compliant mouse</name>
</device>
<device>
<abs_axis>
<dead_zone>0</dead_zone>
<max>1000</max>
<min>-1000</min>
<name>X-axis</name>
<saturation>1</saturation>
</abs_axis>
<abs_axis>
<dead_zone>0</dead_zone>
<max>1000</max>
<min>-1000</min>
<name>Y-axis</name>
<saturation>1</saturation>
</abs_axis>
<axis>
<max>1000</max>
<min>-1000</min>
<name>X-axis</name>
<restricted>1</restricted>
<scale>1</scale>
</axis>
<axis>
<max>1000</max>
<min>-1000</min>
<name>Y-axis</name>
<restricted>1</restricted>
<scale>1</scale>
</axis>
<axis>
<max>1000</max>
<min>-1000</min>
<name>Wheel</name>
<restricted>1</restricted>
<scale>1</scale>
</axis>
<device_type>2</device_type>
<dx_device_type>0</dx_device_type>
<max_raw_pos>65535</max_raw_pos>
<min_raw_pos>0</min_raw_pos>
<name>HID-compliant mouse 1</name>
</device>
<device>
<axis>
<dead_zone>0</dead_zone>
<max>1000</max>
Expand Down Expand Up @@ -636,7 +594,7 @@
</trigger_mode>
<udt>0</udt>
<ulo>Stable 0ms between stim and trigger, both stimulus and ISI is presented always for 500ms each </ulo>
<ulo>Collected in AR</ulo>
<ulo>Collected in KL</ulo>
<unc>0</unc>
<upb>0</upb>
<urp>0</urp>
Expand Down
Loading

0 comments on commit 2c0418a

Please sign in to comment.