Howdy, Stranger!

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

Supported by

Keyboard responses: Set Timeout to defined variable doesn't work in OSWeb

edited August 2020 in OSWeb

Hi,

question about OSWeb & keyboard responses

In the keyboard_response item I would like to set the 'Timeout' to my variable 'duration' (defined in my block loop). Thus replacing the default value 'infinite' to: "[duration]". Thereby showing the stimulus on the preceding sketchpad (which has a duration of 0) for a duration equal to that variable. This works fine when running the file in Opensesame, but when running the script in the browser, the stimulus does not disappear after the 'Timeout' duration, it will only disappear after a keypress.

If I set the 'Timeout' to 1500 (instead of '[duration]') everything works fine in OSWeb.

I was wondering what goes wrong here...

I am running Opensesame version 3.3.1 on Linux & OSweb version 1.3.8.2.

Working example:

Thank you!

Josh

Comments

  • edited August 2020

    Hi,

    I am facing exactly the same problem for touch responses.

    Similar to Josh's, when I set Timeout to one of my variables (e.g., [time1]), the preceding sketchpad remains on the screen until the participant clicks (as if I set the timeout to infinite).

    I thought the solutions would be similar, that's why I did not open a new discussion for that. I would be very happy if someone has an idea to fix it or find another way to do that.

    Thank you very much,

    Pinar

  • Hi both. I remember this to have been a reported bug, but I am not sure if it is fixed. Opensesame is at 3.3.3 at the moment which also has a new version of osweb. Could you try upgrading to that and see if the bug still occurs?

    Buy Me A Coffee

  • Hi Daniel,

    Thanks for your reply. I am using OpenSesame 3.3.3 and OSWeb 1.3.8 versions (on Windows), and unfortunately it still doesn't work.

    Do you think there could be a workaround for this by including a js code somewhere in the experiment? (e.g., is there a function to force the response item to stop when a specified condition occurred (when current time stamp - time_preceding sketchpad = [my_variable], for instance?) I'm not sure if this makes sense; but if you have any other idea to workaround this sitation, I will be more than appreciated.

    Thank you very much,

    Pinar

  • @Daniel I have the same problem. There's a bug report already out.

    https://github.com/open-cogsci/osweb/issues/27

    This issue still persists and also affects advaced_delay items.

    Can anyone think of a workaround?

  • Hello! I have been trying these days to solve this issue as well and I have found a different way that also seems to work.

    The problem:

    The idea is that when you have in the same sequence 1) the inline with the variable (and its value) and 2) the keyboard with the timeout defined using that variable, it does not behave the way it should.

    The way I have solved it:

    In the same sequence that I have described above, instead of place a keyboard directly at the same level, I introduce a loop with a new sequence. In this new sequence I only introduce the keyboard.

    Note: When the variable you use for the keyboard has a value less or equal to 0, it does not work. If this is the case, you can set the 'Run if' of the loop (with the keyboard) when the value of the variable is higher than 0.

    I hope it could help!

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