Howdy, Stranger!

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

Supported by

[solved] A Problem with Loops

edited January 2014 in OpenSesame

Would really appriciate any help with this.

Ive tried designing a experiment with three loops. However when I edit the script of the experiment so all files are selected form the filepool( by editing the .bmp bit to contain a variable name) , rather than having to do it individually the experiment will not run.

Anyone got any pointer on this it would be great.

Thanks

Comments

  • edited 8:27PM

    Hi Desmond,

    Thank you for your interest in OpenSesame!

    Could perhaps provide some more details. What error message do you receive? And what does your script look like?

    Cheers,
    Sebastiaan

  • edited 8:27PM

    Hi thanks for the quick response

    Ill try my best to describe whats happening.

    Basically im trying to replicate the cat face study on the homepage. but instead of identifying the gender of cats its identifying human emotions with 60 trials

    Im following the instructions from the video of clicking edit image when on the sketch pad and changing the script to the name of one of my "[variables].bmp". In the loop tab I have already put the names of the files in a variable column

    However when ive done this the experiment either shows one face repeatedly or shows the introduction slide then stops running.

  • edited 8:27PM

    I see, but I'm afraid you will have to be even more specific. What exactly happens when you run the experiment? Does it crash, and if so, how, and what kind of error message do you receive (you can usually find the error message in the debug window)? Or does it simply not do what you expect it to do?

    Perhaps the easiest thing is to paste the script for the sketchpad, provide a list of the variables that you have defined in the loop, and describe the structure of the experiment. You can paste script here on the forum using the <PRE> and </PRE> tags (preferred), or you could use something like pastebin.

  • edited 8:27PM

    Sebastiaan I think I may have sorted it. However I was wondering if there is anyway of editing the video script in a similar fashion to the image one.

    I am currently changing the image script to "[face].bmp". Face is the name of one of my variables and This allows all the face picture files to be randomly selected. Is there a way I can do this for videos as I can not see an edit option.

    Thanks

  • edited 8:27PM

    Right, yes, you need to use the actual name of the variable, between square brackets. You can do the same for the media_player, either by clicking on the 'edit script' button in the top right of the tab, or (even simpler) by simply typing something like '[my_video_file].avi' in the video file field.

    Cheers!

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