Can not issue zapit.pointer.sendSamples within 300 ms of zapit.pointer.stopOptoStim. This is because there is a 300 ms delay before the task is stopped (e.g. be2fa1e95128f779f83787a73a937882963afe00) -- i.e. the rampDown of power takes (by default) just under 300 ms and we don't want to interrupt this. Also, during this rampdown period the system can't triggered.
This might never be a problem in practice since the behavioral task likely doesn't call for another stimulus within 300 ms. If it is a proble we could have a property that signals when the task is ready. Ideally, though we just tell people not to call these commands one after the other.
We have added the delay to examples also: 0cbe47caed0484e1c1c3a46f70fc79299b212a96
Can not issue
zapit.pointer.sendSamples
within 300 ms ofzapit.pointer.stopOptoStim
. This is because there is a 300 ms delay before the task is stopped (e.g. be2fa1e95128f779f83787a73a937882963afe00) -- i.e. the rampDown of power takes (by default) just under 300 ms and we don't want to interrupt this. Also, during this rampdown period the system can't triggered.This might never be a problem in practice since the behavioral task likely doesn't call for another stimulus within 300 ms. If it is a proble we could have a property that signals when the task is ready. Ideally, though we just tell people not to call these commands one after the other.
We have added the delay to examples also: 0cbe47caed0484e1c1c3a46f70fc79299b212a96