Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Polling responses in parallel with and throughout a sequence

edited September 2014 in OpenSesame

Hello!

I am a psychology student from Finland and I have just started using OpenSesame and think it is great!

However, I have come across an issue I need some help. I am currently trying to create an experiment where timing is very important. The backend is PsyhoPy and my setup is the following:

image

The problem concernes sequence_2 and the parallel function. What I need is to collect responses throughout the entire sequence, however the keyboard_response does not work when applied with the parallel plugin. I have tried putting the key_response before the sequence as was suggested in this post:

http://forum.cogsci.nl/index.php?p=/discussion/232/solved-recording-responses-during-and-after-a-displayed-object/p1

But that does not work (OpenSesame simply freezes)

I have also read this post:

http://forum.cogsci.nl/index.php?p=/discussion/270/solved-recording-rt-during-a-sketchpad/p1

And I am, therefore, wondering if I need an inline script to do what I require? If so, the main problem is that I have no experience working with pyhton script and cannot adapt the scripts in the earlier mentioned posts to my needs, so that it will work (I have tried my best).

What I would need is a sequence as follows:

Sequence_2

Press_start (Sketchpad; duration = keypress)
Blank (Sketchpad; duration = 0 ms)
Delay_before_cue (duration =750ms; jitter=500)
Cue (Sketchpad; "press now"; duration = 0 ms)
Blank (Sketchpad; duration = 0 ms)
Delay_before_response (duration =250ms; jitter=250)
Circle (Sketchpad; duration = 0 ms)
Blank (Sketchpad; duration = 0 ms)
Delay_after_circle ( duration = 400 ms)
Blank (Sketchpad; duration = 0 ms)
Temporal_order_question (Sketchpad; duration = 0 ms)
Temporal_order_response (duration = infinite; Correct/allowed responses = left;right)
Blank (Sketchpad; duration = 0 ms)

and during all this I would need a script that collects keypress responses throughout the sequence (all key presses = "space", except for in the temporal_order_response), so that I can compare the time stamp of the presentation of the circle and the time stamp of the key press (this is the most important part of the experiment)

The reason I need to collect responses in parallel and not in sequence is because I need to vary the duration between the cue and the presentation of the circle but at the same time I don't want the appearance of the circle to be dependent on the key press. Furthermore, I need the duration of the cue and the circle to be 0 in duration.

Am I using the parallel function wrong in some way or would this require a inline script? If a script is required, is there any chance I might receive som help in writing it?

Kind regards,

Thomas

Comments

  • edited 2:31PM

    Hi Thomas.

    You're not doing anything wrong. There are known issues with the parallel plug-in.

    A fix was suggested by @dschreij, but this has so far not been tested. So you could take a look at that, in which case, please report back with your experiences. The fix is described here:

    Alternatively, you can, as you already saw elsewhere, write your trial sequence using an inline_script that continuously polls the keyboard. That may be more coding than you'd care for, but it would work. I would take a look at the various example scripts that you can find here on the forum. And don't hesitate to ask if you get stuck.

    Cheers!
    Sebastiaan

  • edited 2:31PM

    The explanation I have to accumulate tendencies inside parallel instead of inside string is really because I have to change the actual period involving the cue as well as the business presentation of the group of friends however at the same time My partner and i will not desire the looks of the group of friends to be determined by the main element press. On top of that, I would like the actual period of the cue as well as the group of friends to be 0 inside period.

    Was My partner and i with all the parallel operate inappropriate in some way or could that need a inline script? In case a script is essential, possibly there is just about any opportunity I might be given som assistance in writing the item?

    _______Edwordstephen_______

  • edited 2:31PM

    @thomasusa80 I'm afraid your question is unclear. (I assume it has been machine translated?) Could you please rephrase your question? The English doesn't have to be perfect (most people here are not native speakers), but we have to be able to understand!

  • @sebastian Thank you for your quick reply and your help!

    I was in a hurry to sort the problem and I was looking for a quick solution when I first wrote, but I decided to alter the experiment instead. However, I am going to try your solution in the coming months and will definitely post any headway I make with the problem.

    And I just want to say that I think it is wonderful how much time and energy you guys put into helping others!

    Cheers,

    Thomas

    Ps. I am afraid I do not understand how thomasusa80 question relates to my first post, but he/they are perhaps conducting a similar experiment...

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games