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
Comments
Hi Natalie,
To set variables in an inline_script for future use in the graphical interface (for example, the logger item), you should indeed use the built-in experiment function
exp.set()
.This function takes two parameters, namely the name of the to-be-set variable (for example, "my_var") and its current value (e.g. 1).
So, in your case, you set this variable like so:
Does this solve the problem?
Best,
Lotje
Did you like my answer? Feel free to
Dear Lotje,
I tried it, but i can't make it work. I get this error:
Nameerror: NameError: name ongezond_SRHI_item1 is not defined.
I tried:
exp.set("ongezond_SRHI_item1", int(ongezond_SRHI_item1))
and
exp.set(self.get("ongezond_SRHI_item1"), int(ongezond_SRHI_item1))
I also wonder WHERE I can state these lines. I have tried many different places, see my code below. I have an inline_scripted form with "run if never" + a inline_script with "run always" after that that checks if everything is filled in before continutation:
************ this inline script run if never:
**********this inline script: run if always:
Hi Natalie,
In the first post of this thread, you wrote:
I'm wondering what you mean exactly by this. Do you mean you want to write the variables away so that they will appear in your output file? In this case, I think everything is quite simple. You can just append a logger item after your inline_script items:
and the variables "ongezond_SRHI_item1" etc. appear as column headers in your .csv file. The columns contain the counter of the ticked box. Note that Python starts counting at zero, so if participants ticked the first box, the column (e.g. "ongezond_SRHI_item4") contains the value 0, if participants ticked the second box, the column contains the value 1. etc.
Maybe this is all you need to know? In this case you don't have to worry about setting the variables yourself using exp.set().
Still, to answer your question about where to do this, if you wanted to do it:
We made a while loop that keeps showing the form until all questions are answered. Thus, you are only certain that all your response variables contain the counter of a ticked box after the variable 'incomplete' is equal to
False
.As a consequence, you are sure that, on a given trial, the response variables contain their 'final' value:
Does this make sense?
Best,
Lotje
Did you like my answer? Feel free to
Dear Lotje,
thank you for your answers. I need to use the 'names'of the items later in the experiment to set a reward the participant will receive (a certain picture). That is why the 'number' is not enough. (Also, at first I didn't know a Ratingscale sets the answers as numbers. I thought they would be the names you give the nodes... ).
I also understand the place now where to put it.. (I was so tired yesterday that I couldn;t see it anymore ;-)
Thank you again!!
Natalie
Hi Natalie,
Ahh, okay, I see what you mean.
Maybe something like this?
Did you like my answer? Feel free to
Can somebody put this discussion on [solved]? It seems I can not edit the title of the discussion..
Thank you