Howdy, Stranger!

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

Supported by

[solved] Problem with errors

edited January 2015 in OpenSesame

Hey, When trying to run the exp, i recieve an error message but have difficulty to understand where exactly are the specific problems.
Here's my exp:
http://pastebin.com/L5a3mZrs
Would appreciate your help.
Thanks,
Rotem

Comments

  • edited 11:04PM

    Hi Rotem,

    I can't see which error you mean, because before I bump into them, Opensesame complains about the images that are missing (Your instructions and stuff). Maybe you can upload the *.opensesame.tar.gz file?

    Thanks,

    Eduard

    Buy Me A Coffee

  • edited 11:04PM

    Hi Rotem,

    Also, if you receive an error message, please post the actual error and a clear and detailed description of your problem! You will generally find a complete error message in the debug window.

    Cheers,
    Sebastiaan

  • edited 11:04PM

    Hey, I managed to fix the problems and now the exp works.
    There are two more things:
    1. I put a sketchpad for brake after every 50 trials and i would like to exclude it before the instructions of the second block (they are counterbalanced between them) and before the end message. For now i asked open-sessame to run it if "[count_speed_sequence]%50=49". What do i need to add in order to do that?
    2. In the manipulation block i put a "too slow" feedback which should relate to the R.T from my first measurment block. Right now the feedback should appear if "[response_time]>[avg_rt] and [correct]=1". How could i specify it to be calculated from the measurment block only?
    Just for case, this is my exp http://pastebin.com/yhzHSu0J
    Thanks you,
    Rotem

  • edited 11:04PM

    Hi,

    I put a sketchpad for brake after every 50 trials and i would like to exclude it before the instructions of the second block (they are counterbalanced between them) and before the end message

    What you can do is adding more conditions, e.g. "[count_speed_sequence]%50=49 and [count_speed_sequence]%150!=0", or whatever your criteria are (sorry, I haven't completely understood them).

    How could i specify it to be calculated from the measurment block only?

    In the end of this block you can set a new variable with the value of the average response time and use this new variable henceforth to compare the current reaction time to.

    Good luck,

    Eduard

    Buy Me A Coffee

  • edited 11:04PM

    Thanks for your answer.
    I have two conditions regarding the "brake" message- not to be presented before the instructions of the second block and not before the "end" message at the end of the exp.
    I'm not sure how to phrase it.
    Regarding the average RT of my measurement block- can you please specify how should i implement this.
    Rotem

  • edited November 2014

    How about you count the number your block_sequence is executed and prevent the "brake" message to show up for certain blocks.
    Each item in Opensesame has the count_[item_name] attribute. So what you can do is something like that:

    Run if "count_[block_sequence] !=2 and count_[block_sequence] != -1"

    # "-1" indicates the last block

    You'll probably have to adapt the code a bit to make it work. You can also have a look on the documentation page for variables. Maybe you find something interesting there.

    Good luck,

    Eduard

    Buy Me A Coffee

  • edited 11:04PM

    Hello, I have two manipulation blocks named differently so i think i can't use the count_[block_sequence]. I defined my brake message after evey 50 trials as follows: "Run if [count_accuracy_sequence]%50=49". Now i just need to exclude trial 500. What addition do i need to add?
    Regarding my second question- I have a "too slow" feedback defined to be presented as follows: "Run if [response_time]>[avg_rt] and [correct]=1". I need the avg response time to be collected from my first measurment block. Is this the correct way?
    Thanks Rotem

  • edited 11:04PM

    Hi,

    I need the avg response time to be collected from my first measurment block. Is this the correct way?

    I can't say whether this is correct or not, I know too little about your experiment to judge this. But why don't you test it? Do a few test trials, in which you control the avg response time (more or less) and see whether the experiment behaves how you expect it to. In principal, what you have to make sure is that your variable [avg_rt] won't get updated after the critical block is over. Like I suggested earlier, you can do this by add a piece of code in the end of this block, which is executed in the very end of it. In there you define your "own" average response time, which will be independent from opensesame's built-in one.
    e.g.

    exp.set('my_avg_rt', exp.avg_rt)
    

    Since this code is executed only once (if you implement it correctly), this variable shouldn't change from then on.

    Now i just need to exclude trial 500. What addition do i need to add?

    A similar thing you can do to solve this. If opensesame has no built-in counter that will serve you properly, you can define one yourself, in pretty much the same way as you define your avg_rt. So, on every trial you can update a counter variable by adding "one". So that you only have to add counter_variable != 500 to your run if statement to make sure that your brake statement is not presented then.

    Hope this helped.

    Eduard

    Buy Me A Coffee

  • edited 11:04PM

    Hey Eduard,
    The problem has been solved. Your answers were very helpful.
    Thanks,
    Rotem

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