<div dir="ltr">Hi Paul!<br>It worked! I moved the InLine at the end of the procedure and it solved the problem. Thank you for your reply!<br>Best,<br>Marie-France<br><br>On Wednesday, June 25, 2014 12:01:03 AM UTC+2, Paul Groot wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Marie-France,<div><br></div><div>Sounds like this inline script is executed during the prerelease time of the <span style="font-family:arial,sans-serif;font-size:13px">EmotionIdentification</span> <wbr>object. This will be the case when pre-release is non-zero and the inline script is placed immediately after <span style="font-family:arial,sans-serif;font-size:13px">EmotionIdentification. Ideally such an inline should be at the end of the trial procedure. However, when </span><span style="font-family:arial,sans-serif;font-size:13px">EmotionIdentification is the last object of the procedure, you should consider setting the pre-release to zero or to insert another 'dummy' object before the inline.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Also have a look at the experiment advisor in EP 2. It probably warned about this inline execution during pre-release issue.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Best</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Paul</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div><br><br><div class="gmail_quote">On 24 June 2014 15:59, Marie-France Larsson <span dir="ltr"><<a href="javascript:" target="_blank" gdf-obfuscated-mailto="FH_g6VC_woMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">marie-fran...@miun.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<br>I was wondering if someone else encountered this problem. I used the code below in order to log which picture a participant clicks on (the answer choices in this experiment are images on a slide). For a reason that I do not quite understand, the answers are logged in my data output, BUT, the first answer is always "NULL", and the answers are then logged on the wrong row (they are displaced one row down so that the answer provided for trial 1 is logged on the row of trial 2, and so on, meaning that the last answer is not logged at all). Anything in my code that looks wrong to you, or any suggestion? This is the very first time I ever program an experiment at all, so I feel like there are probably a lot of things I might be doing wrong!<br>
<br>Code:<br><br>Dim theState As SlideState<br>Set theState = EmotionIdentification.States("<wbr>Default")<br>Dim strHit As String<br>Dim providedAnswer As MouseResponseData<br><br>If EmotionIdentification.<wbr>InputMasks.Responses.Count > 0 Then<br>
<br>Set providedAnswer = CMouseResponseData(<wbr>EmotionIdentification.<wbr>InputMasks.Responses(1))<br><br>strHit = theState.HitTest(<wbr>providedAnswer.CursorX, providedAnswer.CursorY)<br><br>c.SetAttrib "ClickedAnsKey", strHit<br>
<br>End If <br><span><font color="#888888"><br><br></font></span></div><span><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="FH_g6VC_woMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">e-prime+u...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="FH_g6VC_woMJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">e-p...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/<wbr>msgid/e-prime/aaf59e04-10be-<wbr>4ec5-a9cb-2861ebaabcad%<wbr>40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.<br>
</font></span></blockquote></div><br></div>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/a29102c6-7f98-44ff-9f26-9f8844a6bbb7%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/a29102c6-7f98-44ff-9f26-9f8844a6bbb7%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />