Linking exposure time with MaxRt

A time value of zero usually means not to wait and to proceed immediately. If, however, cancel mode is set to 1 or 2, the event flow will wait until a response is recorded or until the maximum reaction time as defined in the RK command has been reached.

 Example for linking exposure time with MaxRt


;The Picture is presented until the response is captured
;or the maximum reaction time (1000 ms) is reached.
TRIAL  T1
CS  2000
RK  ResKeys  1000          ; MaxRt=1000
SP  Pic  MidPos  1  0  1          ; Time=0 and Cancel=1

;Present picture for 100 ms, then wait for a response
;or until maximum reaction time (1000 ms) is reached.

TRIAL  T2
SP  FixPoint MidPos 1 500          ; Present fixation point for 500ms
RK  ResKeys  1000          ;Register key with MaxRt=1000
SP  Pic  MidPos  1  100          ;Show Picture for 100 ms, do not abort
CS  0  0  1          ;Clear screen and wait for response or until MaxRt



Copyright 2021 - BeriSoft Inc.
All rights reserved