PennController for IBEX › Forums › Support › result file
Tagged: result file
- This topic has 2 replies, 2 voices, and was last updated 6 years, 1 month ago by
Sahar.
-
AuthorPosts
-
September 23, 2019 at 4:01 pm #4221
SaharParticipantHi Jeremy,
I have designed an experiments through which participants have to give a number in a textinput as an answer. The problem is that in the result file I don’t see my experimental items (words). I only see the participants’ answers (numbers). Therefore, I don’t know what experimental item the given answer belongs to, unless I match it with my .csv file. I will be grateful if you help me with this issue!
My codes are below, if it helps.
Thank you so much!
Sahar
——————————————————-
newText(variable.Word)
.print()
.settings.log()
,
newText(“question”, “How related are the above items in their meaning?”)
.print()
,
newText(“1: very unrelated”)
.print()
,
newText(“2: Unrelated”)
.print()
,
newText(“3: sort of related”)
.print()
,
newText(“4: related”)
.print()
,
newText(“5: very related”)
.print()
,
newTextInput(“Answer”)
.print()
.wait( getTextInput(“Answer”).testNot.text(“”) )
.settings.log()
)
.log( “ID” , getVar(“ID”) )
.log( “Gap” , variable.Gap )
.log( “NoGap” , variable.NoGap )
.log( “Filler” , variable.Filler ) )PennController.SendResults()
-
This topic was modified 6 years, 1 month ago by
Jeremy. Reason: moved to appropriate forum
September 23, 2019 at 4:13 pm #4223
JeremyKeymasterHi Sahar,
You probably want to add
.log("Word", variable.Word)to your stack oflogs. Calling.settings.logon the Text element itself will just record the timestamp at which it was printed on the screen. It’s true that the line in the results file should also show the name of the Text element, but note thatnewText(variable.Word)creates a text element whose content is the value of the Word cell, its name is basically a random string. If you want the same name and content, you can donewText(variable.Word,variable.Word).Also, you might be interested in the Scale element to provide your participants with a 1-to-5 type of input.
Let me know if you have any questions
Jeremy
September 23, 2019 at 7:32 pm #4229
SaharParticipantThank you so much, Jeremy! The codes you suggested solved the problem. Now I have answers and words in my results file 🙂
-
This topic was modified 6 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.