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