We would like to set a pause of 500ms after each round of flashings. For example, in a 6x6 menu, there are 12 flashes in each round, we'd like to pause for 500ms after the flash of the 12th stimulus code.
We've tried to modify the code in OnNextStimulusCode, so it looks like:
Code: Select all
....
if( mSequencePos == mSequence.end() )
{
int numBlocks = 0.5 * 400 / 8;
int endSeq = mSequence.size()-1;
Associations()[ endSeq ].SetISIMaxDuration( numBlocks );
Associations()[ endSeq ].SetISIMinDuration( numBlocks );
int prevStimulusCode = *mSequence.rbegin();
// the rest are not changed
....
We are wondering how we should go about this. Could you give us some suggestions? Thanks very much!
Ray
