Re: Need very precise timings to show a stimulus
Posted: Thu May 05, 2016 8:28 pm
Hi Bernd,
I have looked through your attachments. I can say this -- something like this would be required to accomplish what I want.
I asked around and I discovered a few things: Priming research is typically done with other kinds of software that (apparently) takes into account the refresh rates of the monitor. For instance, Inquisit is one such software and it allows you to set stimulus durations by frames. That is really the key -- start the prime exactly when the system monitor has just finished redrawing (or whatever).
Back to your code. I do not quite understand this:
What is "mod", and how was kFrameLength determined?
Also:
What does that do, and why after "tNextTime-tTime"?
With your code (subliminal Cueing) --> you reference field 2, but I do not see a field 2 object. Also, I noticed that I can recreate the problem running either the runSequence or runSequenceadapted on default settings (even though they work the vast majority of the time).
Unfortunately I have to run for now, but I will return to this later! Thanks again!
I have looked through your attachments. I can say this -- something like this would be required to accomplish what I want.
I asked around and I discovered a few things: Priming research is typically done with other kinds of software that (apparently) takes into account the refresh rates of the monitor. For instance, Inquisit is one such software and it allows you to set stimulus durations by frames. That is really the key -- start the prime exactly when the system monitor has just finished redrawing (or whatever).
Back to your code. I do not quite understand this:
Code: Select all
put (tTime - (tTime mod kFrameLength)) + kFrameLength into tNextTime
Also:
Code: Select all
send "updateSwirl pLastTime, pPhase, pPhaseStart, pPhaseEnd" to me in tNextTime - tTime millisecs
With your code (subliminal Cueing) --> you reference field 2, but I do not see a field 2 object. Also, I noticed that I can recreate the problem running either the runSequence or runSequenceadapted on default settings (even though they work the vast majority of the time).
Unfortunately I have to run for now, but I will return to this later! Thanks again!