From b1c1686c51175e5d63190758ac24bf04c6e2fa8e Mon Sep 17 00:00:00 2001 From: Zhenna Date: Wed, 12 Sep 2018 01:07:31 +0800 Subject: [PATCH] Update Study_Block.pcl --- PCLs/Study_Block.pcl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/PCLs/Study_Block.pcl b/PCLs/Study_Block.pcl index c537235..72ef007 100755 --- a/PCLs/Study_Block.pcl +++ b/PCLs/Study_Block.pcl @@ -26,8 +26,22 @@ begin int this_iti = random( ONE_SEC, TWO_SEC ) ; play_ITI_trial( this_iti ); - play_sound_trial( caption_idx, BLOCK, i, j, this_iti); + play_sound_trial( caption_idx, BLOCK, i, j); + # Update event code & store data + info_event.set_event_code( + "Stim;" + + logfile.subject() + ";" + + BLOCK + ";" + + string( i ) + ";" + + string( j ) + ";" + + string( caption_idx ) + ";" + + string( this_iti) + ";" + + "NA;" + + "NA;" + + "NA;" + ); + info_trial.present(); caption_idx = sounds.count()/caption_idx; #Alternating between the 1st and the 7th element of the sounds array j = j + 1