<div>thank you for the reply!!</div><div><br></div><div>about the first question,</div><div><div>the systems are connnectend by parallel cable.</div></div><div><br></div><div>About the experiment, it s structured as follow</div>
<div>stimulus (sent by the simulator) -> vocal response given by the subject using a mic connected with a SRBox ->Feedback (and so on with the other 99 loops)</div><div><br></div><div>About what e-prime is doing</div>
<div><div>Yes, E-prime merely logging voice-key data. Every stimuli are sent from a driving simulator.</div><div>The simulator send a signal (via parallel port) at the start, and another at the end, of the experiment. With two "while loops" we control the start and the and of the experiment. E-prime exits from "while loop" when it reads the signal sent from the simulator. we know the time when the simulator send the signal and the time when E-prime reads this signal. So I can calculate the time difference between the simultator and the PC.The difference at the start is less than the difference at the end. But I don't know if this difference linearly increases. I m trying to read signal from the simulator during the experiment, but we can't create a loop while the experiment runs, maybe because the stimulus is presented when E-prime "is waiting the signal" and we don't want so.</div>
</div><div><br></div><div>So far, I didnt find any script line that makes this sync (i.e. read the signal sent from the simulator) during the experiment, but only at the start and at the end as described above.</div><div>
<br></div><div>About the possibility to use the simulator both for driving and for logging mic responses, I cant do it; we need to use another pc.</div><div><br></div><div>I wish you can help me!</div><div><br></div><div>
Thank you in advance</div><div><br></div><div>Francesco Biondi</div><div><br><div class="gmail_quote">2011/3/24 Michiel Spape <span dir="ltr"><<a href="mailto:Michiel.Spape@nottingham.ac.uk" target="_blank">Michiel.Spape@nottingham.ac.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Did you just repeat the question? Anyway, the answer isn't much use, I would think; gigo, one might say.<br>
<div>"i want e-prime to read this signal several times during the exp; how can i do it? best, which command i have to use to let e-prime do it? do you think it's possible let e-prime to read the signal every, for example, 20 minutes , or it's better send this signal from the simulator every cycle (100 cycles - 100 identical item - in 35 minutes) and let e-prime read it everytime?"<br>
<br>
</div>This betrays a lack of knowledge of E-Prime, or poor wording, but in any case: E-Prime isn't very good at doing things in parallel or in terms of "read signal every 20 minutes", because it is heavily structured around principles that make sense for psychologists: trials, blocks, sessions. So, yes, if you want to read something every trial, or block, it shouldn't be too hard. But this depends on whatever you're doing with the experiment and your structuring so I, nor other people who lack telepathic abilities, cannot tell you. You might wish to start by explaining how the two systems are connected: serial cable? LAN? What are they doing? Is E-Prime merely logging your voice-key data, not presenting anything? In order to cope with drift, the two systems have to sync sometimes, therefore, connecting them will probably prove inevitable. This, in turn, may be less straightforward than you might think, so careful explanation is required for me to help you. Also, if E-Prime doesn't do much (other than logging voice-key), you might wish to just get rid of E-Prime and do everything in the simulator - have that log the voicekey thing.<br>
</blockquote><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
Best,<br>
Mich<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Michiel Spapé<br>
Research Fellow<br>
Perception & Action group<br>
University of Nottingham<br>
School of Psychology<br>
<a href="http://www.cognitology.eu" target="_blank">www.cognitology.eu</a><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> [mailto:<a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>] On Behalf Of francesco biondi<br>
</div><div><div></div><div>Sent: 23 March 2011 09:38<br>
To: E-Prime<br>
Subject: Re: Time drift between 2 different data streams<br>
<br>
Thanks for the answer.<br>
I m trying to send signals from the simulator to e-prime.<br>
i want e-prime to read this signal several times during the exp; how<br>
can i do it?<br>
best, which command i have to use to let e-prime do it?<br>
do you think it's possible let e-prime to read the signal every, for<br>
example, 20 minutes , or it's better<br>
send this signal from the simulator every cycle (100 cycles - 100<br>
identical item - in 35 minutes) and let e-prime read it everytime?<br>
<br>
On Mar 22, 10:33 am, Michiel Spape <<a href="mailto:Michiel.Sp...@nottingham.ac.uk" target="_blank">Michiel.Sp...@nottingham.ac.uk</a>><br>
wrote:<br>
> Hi,<br>
> This is a weird problem, but I would assume (hope?) that the time you get from the simulator is the problem, not the one from E-Prime. If you think it's e-prime: do you have the latest version of 1 (1.2) or 2? Are you running E-Prime on some kind of laptop or computer with dynamic processor?<br>
> Anyway, this is why, generally, if you use two different data streams, you synchronise more often - try to implement that. Scaling the clock is unlikely to work, since it's very probable that the time drift isn't linear, so if, for instance, the time drift occurred halfway during the experiment, a linear correction would make ALL your data invalid, rather than half of it.<br>
> Also, you could try send live pulses from E-Prime to the simulator and just use all the data in there (or vice versa). A bit of work, but it saves despairing afterwards.<br>
><br>
> Best,<br>
> Mich<br>
><br>
> Michiel Spapé<br>
> Research Fellow<br>
> Perception & Action group<br>
> University of Nottingham<br>
> School of <a href="http://Psychologywww.cognitology.eu" target="_blank">Psychologywww.cognitology.eu</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> [mailto:<a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>] On Behalf Of francesco biondi<br>
> Sent: 21 March 2011 16:12<br>
> To: E-Prime<br>
> Subject: Time drift between 2 different data streams<br>
><br>
> Hello!!<br>
> I m using eprime in a experiment where a subject, driving a simulator,<br>
> has to use a microphone connected with a SRBox.<br>
> After merged the data from the 2 different data streams, i ve noticed<br>
> a time drift occurred between the 2 streams : e-prime times -<br>
> synchronized with the simulator times during the first part of the exp<br>
> - were drifted by the simulator times of 2.5 seconds at the end of the<br>
> experiment.<br>
> Do you know how i can solve this problem?<br>
> rescaling the eprime clock could help me?<br>
><br>
> --<br>
> You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
> To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
> To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
> For more options, visit this group athttp://<a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">groups.google.com/group/e-prime?hl=en</a>.<br>
><br>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
><br>
> This message has been checked for viruses but the contents of an attachment<br>
> may still contain software viruses which could damage your computer system:<br>
> you are advised to perform your own checks. Email communications with the<br>
> University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><i>Francesco Biondi</i><br>
</div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />