Hey Chris,
In our MTS experiment, we have a “punish” timer that is triggered when the subject makes an incorrect choice. We specify the duration of the timeout using a variable
var punish_duration_ms = 500
var intertrial_interval_duration_ms = 0
which is then used later on here:
if (failure == 1) {
start_timer (
timer = MyTimer
duration = punish_duration_ms+intertrial_interval_duration_ms
duration_units = ms
)
if (test_image_location_index == 0) {
start_timer (
timer = MyTimer
duration = punish_duration_ms+intertrial_interval_duration_ms+punish_duration_ms
duration_units = ms
)
}
}
This works as expected. However, originally we had specified var punish_duration_ms = 500ms (note the units), and this lead to a timeout that does not terminate (at least over the time I observed it; ~ 2 minutes).
Is this expected behavior, or is this possibly a bug?
Michael