Calling and Running an exe in background

Swathi swathi.bwh at gmail.com
Tue Aug 6 14:50:01 UTC 2013


Thanks Paul for your inputs.

Currently, we have Viewpoint application running in the background and then 
we start our Eprime experiment. With in the Eprime I have an inline code 
calling the Viewpoint DLL to start recording the eye movie and stop once 
the experiment is finished.

But we would like to open and close viewpoint application automatically via 
Eprime so that we dont loose time in between our scans.

Suspend and resume example, as I mentioned earlier does not serve this 
purpose.

Meanwhile, I will look into the COM interface option via Viewpoint and your 
previous post about matlab.

Thanks again,
Swathi


On Monday, August 5, 2013 3:37:59 PM UTC-4, Paul Groot wrote:
>
> Calling a DLL function is possible after predefining the required 
> function(s) using the Declare statement. I don't think it would be possible 
> to call DLL functions that use graphical devices in any way, so that may 
> limit your options. Note that running an application is not the same thing 
> as calling a DLL function, so I'm not sure how viewpoint could be 
> integrated. I think there are application suspend and resume examples 
> available on the PST support site that could be used as a starting point if 
> you're integrating a regular application instead of a DLL. If the viewport 
> application (or DLL) supports COM interfaces, that would also be an option. 
> (See one of my previous post on interfacing with matlab.)
>
> Best
> paul
>
>
> On 5 August 2013 20:29, Swathi <swath... at gmail.com <javascript:>> wrote:
>
>> Hello everyone,
>>
>> I am trying to call a software called viewpoint (that records eye 
>> movement) through E prime. I would like to launch the software through 
>> eprime(& let it hang around in the background), run my eprime experiment 
>> and then when close the software once my experiment is completed.
>>
>> I have seen example of suspending eprime and resuming it but I need the e 
>> prime to function normally while the software is running in the background.
>>
>> Is this possible via e prime. Can i call the dll?
>>
>> Thank you,
>> Swathi
>>
>> -- 
>> 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... at googlegroups.com <javascript:>.
>> To post to this group, send email to e-p... at googlegroups.com<javascript:>
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/e-prime/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
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+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4d03953c-399a-4a82-b60e-818614d20479%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130806/81f98da6/attachment.htm>


More information about the Eprime mailing list