|
Post by danaleighton on Mar 14, 2021 22:43:13 GMT
In numerous experiments I have seen, there is the following structure:
draw on show text "some text" draw off Anyone know what the draw on and draw off statements do, and why we use them? They do not seem to be in the documentation
|
|
|
Post by Partenope on Mar 15, 2021 1:20:36 GMT
Hi! They let you to show stimuli on the screen at the same time; for example: draw off show bitmap stimulus1 show bitmap stimulus2 show bitmap stimulus3 draw on in this script draw off is like "hiding" the following stimuli, and to load them; draw on is like "now show me the preceding stimuli but all of them at the same time. I hope this answer could be useful to you; I have always used these instructions in this way best wishes
|
|
|
Post by danaleighton on Mar 15, 2021 3:13:53 GMT
Thank you! I understand now. If they were to be displayed one at a time, the latency between stimulus and response would not be constant for all stimuli. I suppose it is really only needed when displaying multiple stimuli simultaneously.
|
|
|
Post by Partenope on Mar 15, 2021 8:54:30 GMT
Yes, I totally agree
|
|
|
Post by PsyToolkit on Apr 8, 2021 8:17:18 GMT
Also note that if show commands follow each other directly, you do not need draw off/on. For example: task test
show text "hello" 0 -200 show text "friend" 0 0
The two "texts" will be shown simultaneously. There are sometimes situations where this is not guaranteed, but usually subsequent stimuli will be presented simultaneously. If not sure, use draw off/on.
|
|