Debug.print participants response

44 views
Skip to first unread message

looking for answers

unread,
Sep 12, 2018, 5:07:48 AM9/12/18
to E-Prime
Hello, 

within the Practice Procedure there is a SoundOut object (PracticeSeq) which plays 5 sounds from a text file. Participant should press S when he hears a specific sound. 
So, I added a Debug window just to check participant's response: 

Debug.print "response = " & PracticeSeq.RESP & "\n"

Although I press S or other keys this is what I get in the Debug window:

response = 

response = 

response = 

response = 

response = 


The PracticeSeq object is set (within the text file) to wait for S as correct answer for certain sounds. 
Even in the dat file nothing is recorded. 

I do not understand... 

If anyone can help me, I would really appreciate it. 
Thank you

 

Spape, Michiel

unread,
Sep 12, 2018, 9:34:59 AM9/12/18
to e-p...@googlegroups.com

Hi Looking for Answers,

Quick suggestion: do you use any prerelease? By default, the inline after PracticeSeq will run pretty much as soon as PracticeSeq is started, so at that stage the .RESP is still empty.

Best,

Michiel

--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a4063e7e-e6b2-42b1-b177-243d54bef75b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

looking for answers

unread,
Sep 14, 2018, 5:00:42 AM9/14/18
to E-Prime
Hi Michiel, 

Thank you for your response. 
I tried with PreRelease: none, 0, 300 .... I increased the Time limit but I still do not get anything in the Debug window.
This is not very intuitive...


Screenshot (6).png


You can check in the figure, the values that I set for the parameters. 
Any help will be greatly appreciated. 

Thank you! 

David McFarlane

unread,
Sep 14, 2018, 9:41:11 AM9/14/18
to e-p...@googlegroups.com
Actually, I think Michiel is on the right track. For more explanation,
see the thread at groups.google.com/d/topic/e-prime/hkEndArSIEA (and all
other threads linked from there). This has been discussed too many
times to count, and will get discussed again countless many more times :).

On a separate note, when you reply to the thread, please include the
entire past thread. Not everyone here goes out to the web to read
these, some of us (like me) do this by e-mail, and it is very
inconvenient to have to figure out what the thread is about based upon
only the latest brief message. Just a little bit of discussion group
etiquette.

Best,
-- David McFarlane

looking for answers

unread,
Sep 17, 2018, 10:08:09 AM9/17/18
to E-Prime
Hello David and Michiel, 

Really appreciate your time ! 

In my case I could resolve the issue by setting in the object BEFORE the inline code: Generate PreRun = BeforeObjectRun with PreRelease = 0

I also, will make sure not to delete the previous messages in the thread. 

Have a nice day.
Reply all
Reply to author
Forward
0 new messages