Howdy, Stranger!

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

Supported by

OSweb touch_screen not logging correct_response

Hi,

my experiment, which uses the touch_response item, does not seem to log basic variables such as 'correct_response'. It runs fine offline, and all the modules seem to be compatible.

here is the experiment: https://www.dropbox.com/s/ibnr92qruvwf21b/Exp1.osexp?dl=1

Am I doing anything wrong here? 

Best,

Thomas

Comments

  • I have the same question. It looks like that in the online version we can only retrieve data in terms of "mouse" cursor position. :(

  • Hi you two,

    I have no clue why it did not work (Please file a github issue!), but a work around is it to manually compute the correct variable. I did that in the attached example (only for the red dot part) and it works. For the rest of the sequence, you can use the same approach and adapt it (the action happens in the javascript_inlinescript).

    Good luck,

    Eduard


    Buy Me A Coffee

  • Hi,

    thx so much @eduard . It is working indeed.

    A Github issue has already been filed here.

    However, I think I'm running into another issue here, still regarding how JS is handling the variables I guess: impossible to match the multiple correct_response specified in the loop with the output of vars.response. In other words, it seems to only work when there is a single correct response (number) specified as a correct response.

    If you try to implement your solution to the next response in the sequence you'll see what I mean.

    Thx again!

    Tom

  • Hi Tom. Can you use the include method? See the attached script. I checked whether the variable response is present in the variable correct responses. If it is in there, the output is correct, if not the output is false. Those 2 variables can then be used to define what you want to show when.

    Does that make sense?

    Eduard


    Buy Me A Coffee

  • Hi Eduard,

    thx again for that. Unfortunately, while I totally get what you are after with include your script doesn't work on my computer for some reason and crashes while showing the following error:

    TypeError: 'undefined' is not a function (tried calling property 'includes' of 'String').

    I tried getting close to there by using typeof and saw that indeed vars.response = 'number' while correct_rectangle = 'string'. However, forcing vars.response into a string doesn't make it work either: it somehow still doesn't want to match the actual response with a list of correct response. As a temporary workaround I'm creating one column per correct response, but then the run if arguments are becoming a nightmare.

    Thomas

  • Hi Thomas,

    Just to be sure that this isn't the issue, when I run the experiment in Opensesame, I get the same issue, but running in the browser seems to work. I have to admit that I haven't checked whether all the variables make sense, and the behaviour is exactly what you had in mind. But the procedure didn't spit out any errors at least.

    Could you verify that the solution wouldn't be as easy as that?

    Eduard

    Buy Me A Coffee

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