Hi Annika, <br><br>As a fellow neuroimager I have a couple of suggestions. First and foremost, stick with low-tech. Second, depending on how critical your timing needs are, a two-system solution using a KVM switch may be an effective solution.<br>
<br>Cheers, <br>Jason<br><br><br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 3:50 PM, Matt <span dir="ltr"><<a href="mailto:mplenhart@gmail.com">mplenhart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Annika,<br>
<br>
Basically, E-Prime takes complete control of the display device when<br>
it starts an experiment. It needs to do this in order for the timing<br>
to be accurate. If it gives up even a part of the screen to another<br>
program, it would lose this control and the timing data could suffer.<br>
<br>
You could try using a DLL to tap into the camera feed during the<br>
experiment (present it on-screen at the same time). I'm not sure of<br>
the specifics for the camera/app you are using, but it should be<br>
possible.<br>
<br>
If you try to switch to another application while an experiment is<br>
running, Windows takes control of the display and E-Prime will throw<br>
an error since it has lost control. The Windows key and ALT+Tab will<br>
both do this.<br>
<font color="#888888"><br>
<br>
Matt<br>
</font><div><div></div><div class="h5"><br>
<br>
On Sep 11, 5:16 pm, Annika <<a href="mailto:kieksel...@gmail.com">kieksel...@gmail.com</a>> wrote:<br>
> Thanks again for your suggestions. I would have liked to make it work<br>
> through EP, but you're right; I'll just start working on a low-tech<br>
> solution.<br>
> I contacted PST web support, by the way, but they always take long to<br>
> get back to me - I really appreciate your quick and helpful replies!<br>
><br>
> Have a good weekend,<br>
><br>
> Annika<br>
><br>
> On Sep 10, 5:15 pm, David McFarlane <<a href="mailto:mcfar...@msu.edu">mcfar...@msu.edu</a>> wrote:<br>
><br>
><br>
><br>
> > Annika,<br>
><br>
> > I still think that you should contact PST Web Support with this and<br>
> > see what they say.<br>
><br>
> > Other than that, if it were me then at this point I would resort to<br>
> > some sort of low-tech kludge.  E.g., feed both the EP video and the<br>
> > web cam video output into some sort of video switch box that goes to<br>
> > the one display monitor, then see if I can use some digital I/O<br>
> > output (e.g., the lpt port) to have EP control which video goes<br>
> > through the switch to the display; or in a pinch, if display switch<br>
> > timing is not critical, just flip the switch as needed by hand; or<br>
> > use two displays and physically move a mirror to show one display or<br>
> > the other.  IOW, I would just try to think "outside the EP box" to<br>
> > get a working solution to this.<br>
><br>
> > OK, I am late getting home for the weekend now, I have a fish dinner<br>
> > waiting and then a symphony concert tonight, so off I go...<br>
><br>
> > -- David McFarlane, Professional Faultfinder<br>
><br>
> > >Hi David,<br>
><br>
> > >Thanks a lot for your quick reply.<br>
> > >I had thought of using a dual display, but I am not sure if I could<br>
> > >make this work in the scanner. I am also afraid that the two display<br>
> > >screens would end up being too small to be clearly visible (the same<br>
> > >would probably apply to showing the experiment and the desktop<br>
> > >simultaneously, on second thought).<br>
> > >Perhaps it would be easier if I explained what I would like to do: At<br>
> > >certain points during my experiment, subjects need to receive direct<br>
> > >video feedback from a webcam (connected to the computer that runs E-<br>
> > >Prime).<br>
> > >I cannot use the movie object for this purpose, because it can only<br>
> > >play saved (not live) video clips. I considered calling a dll routine<br>
> > >to bring up the webcam (in the same runtime environment), but this<br>
> > >would probably interfere with E-Prime. Finally, I tried to turn on the<br>
> > >webcam, start the experiment, and then bring the webcam to the<br>
> > >foreground at specific time points. The problem is that E-Prime quits<br>
> > >as soon as it is no longer in the foreground (runtime error 11011).<br>
> > >Do you know if there is a way (e.g., using an inLine) to keep E-Prime<br>
> > >running in the background? That way I could call the webcam to the<br>
> > >foreground (and push it back to the background again a few seconds<br>
> > >later), without having the experiment quit in the mean time.<br>
><br>
> > >I appreciate your help,<br>
><br>
> > >Annika<br>
><br>
> > >On Sep 10, 2:49 pm, David McFarlane <<a href="mailto:mcfar...@msu.edu">mcfar...@msu.edu</a>> wrote:<br>
> > > > Annika,<br>
><br>
> > > > Stock reminder:  1) I do not work for PST.  2) PST's trained staff<br>
> > > > takes any and all questions<br>
> > > athttp://<a href="http://support.pstnet.com/e%2Dprime/support/login.asp" target="_blank">support.pstnet.com/e%2Dprime/support/login.asp</a>, and they<br>
> > > > strive to respond to all requests in 24-48 hours (although current<br>
> > > > estimates are more like 10 days) -- this is pretty much their<br>
> > > > substitute for proper documentation, so make full use of it.  3) If<br>
> > > > you do get an answer from PST Web Support, please extend the courtesy<br>
> > > > of posting their reply back here for the sake of others.<br>
><br>
> > > > That said, here is my take...<br>
><br>
> > > > Hmm, interesting thought.  I don't see any hope of doing that in<br>
> > > > E-Prime, but I would be glad to be found wrong.  You can, of course,<br>
> > > > set E-Prime's display resolution to whatever you like, but that<br>
> > > > always still takes up the full display.<br>
><br>
> > > > As an alternative, I suppose you might use a dual physical display,<br>
> > > > so that E-Prime would take up one display screen, and you would still<br>
> > > > have a desktop visible on the other display screen.<br>
><br>
> > > > -- David McFarlane, Professional Faultfinder<br>
><br>
> > > > >I was wondering whether you can change the size of the window in which<br>
> > > > >the experiment is run.  Is there a way to let E-Prime take up only,<br>
> > > > >say, half the computer screen, so that you can still see (half) the<br>
> > > > >desktop in the background while running the experiment?<br>
> > > > >Thanks,<br>
> > > > >Annika<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">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">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>

<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 />