How to increase the response scanning frequency

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win11
PsychoPy version (e.g. 1.84.x): 2022.2.4
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
increase the response scanning frequency
What did you try to make it work?:
I have tried a continuous scanning of the response with a while-loop, but the stimulus is then only drawn after the loop is completed, which is why I am considering multiprocessing.

Hello,

I would like to know if I can increase the response scanning frequency. I work with a 60Hz monitor and mostly in builder.
In other topics I have already read the suggestion to use the ioHub library or multiprocessing. However, I am not sure how exactly I can use these.

Purpose:

  1. a stimulus is shown to the participants and the exact time of the response to this stimulus should be noted.
  2. the participants should continuously increase the size of a presented graphic stimulus by tapping. The magnification should be dependent on the tapping frequency.

Best regards :slight_smile:

Hello,

you seem to have two problems. The moment in time when a stimulus is drawn (we don’t know how you try to achieve this) and the response polling of your input device (which we don’t know). You need to provide more information.

Here is some information on stimulus presentation and response polling

https://workshops.psychopy.org/3days/coding/improvements.html#presenting-stimuli-by-frames

I assume that you will not run an online-experiment.

Best wishes Jens

Hello @JensBoelte,

thank you for your reply, I will try to explain my approach more clearly.
For 1) the experiment runs in a block design. The stimulus is always presented for a certain time per block. During this presentation, the participants have to submit a decision by pressing a button. A button box, which transmits the signals via a serial port, is used for the response.
For 2) the participants have to change a stimulus shown by pressing a key on the keyboard (with a predefined constant frequency).

Please excuse my late response!
Greetings! :slight_smile:

Hello,

as described in the manual, the keyboard is “constantly” polled. Point 1 and Point 2 are possible in PsychoPy. What is your problem?

Best wishes Jens