Dear all,
I am trying to show twelve RSVP items each lasting for 500 msec while showing an animation in the periphery. This RSVP stream first starts with a blank, then the RSVP stream continues with ISI blanks lasting between 250-350 msec. So, overall, I have 12 RSVP stimuli lasting for 6 sec in total, and 13 ISI blanks lasting 4 sec in total. While RSVP stream is displayed on the center of the screen, I have an 61 frame with 1 sec duration animation that I call frame by frame by using GetFrames and then FillOval. Because this animation lasts for 1 sec, I have put both the animation and the RSVP task into a 10-itiretation loop.
Within the loop, I have a value that goes over every frame starting from 1 to 610. Each RSVP item and its subsequent ISI has their own onset frame (i.e. 1, 17, 48, âŚ, 610). Because I cannot use WaitSecs() command within the animation frame loop, I have included an if-contingency in which I say if the frame value is between RSVP item one onset frame and ISI onset frame, then Flip. Although the script works without any error, only one flip of the RSVP stimuli is displayed. So, each RSVP item is shown for 16 msec rather than 500 msec. I couldnât understand why this is the case and how can I make it 500 msec last. I would appreciate any help and comment. Thank you!
My OS is Windows 8 (Version 6.2). I am using PTB-3 and Matlab 64-Bit (Version 3.0.15 - Build date: Oct 19 2018). I have to use SkipSyncTests, and other details regarding my hardware is as follows:
PTB-INFO: OpenGL-Renderer is ATI Technologies Inc. :: AMD Radeon R9 M265X :: 4.3.12793 Compatibility Profile Context 13.351.1001.0
PTB-INFO: VBL startline = 900 , VBL Endline = 900
PTB-INFO: Measured monitor refresh interval from beamposition = 16.666021 ms [60.002325 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO: Measured monitor refresh interval from VBLsync = 16.678833 ms [59.956235 Hz]. (50 valid samples taken, stddev=0.480287 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.666667 ms [60.000000 Hz].
RAM= 8 GB; Intel Core i7; HardDrive= 1 TB. Video Card Memory= 2 GB. (other details are available: https://www.vatanbilgisayar.com/toshiba-satellite-l70-core-i7-5500u-2-4ghz-8gb-1tb-2gb-17-3-w10-notebook.html#urun-ozellikleri)
My code is basically like this: (nFrames=61)
tDisp_count=1; jDisp_count=1;
for i=1:10
for j=1:nFrames
onset=nFrames*(i-1)+j;
ts=GetFrame(j);
Screen(âFillOvalâ, win, color, coordinates);
if onset >= round(jFrames(jDisp_count)) && onset < round(tFrames(tDisp_count))
Screen(âFillRectâ, win, [190 190 190],[750; 350; 850; 550]);
Screen(âFlipâ, win);
if jDisp_count < 13 && tDisp_count < 13
jDisp_count = jDisp_count + 1;
end
elseif onset >= round(tFrames(tDisp_count)) && onset < round(jFrames(jDisp_count))
curTOrientation= [-17, 17, 0, 0; -10, -10, -23, 23];
curTColor= tDisp(tDisp_count,2);
Tonset=GetSecs;
Screen(âDrawLinesâ, win, [-17, 17, 0, 0; -10, -10, -23, 23], 8, [255 0 0], winCenter);
Screen(âFlipâ, win);
if jDisp_count <13 && tDisp_count <13
tDisp_count = tDisp_count + 1;
end
else
Screen(âFlipâ, win);
end