how to call other exe file in Eprime?
chen
chunhuichen at 126.com
Tue Nov 6 18:33:34 UTC 2007
Matt and David,
Thank you!
--
Chunhui Chen
______________
Beijing Normal University
&
University of California, Irvine
在2007-11-06,"David McFarlane" <mcfarla9 at msu.edu> 写道:
Matt's response should help you to call an external .exe (thanks,
Matt), however...
At 11/5/2007 10:12 PM Monday, Chunhui Chen wrote:
>I have a special device, it not only used as response switch, but
>also used as a signal generator, I used VB script not only detact a
>key press but also receive a signal from the device. VB script
>fulfill this by calling an executive function.
If you only need to read a digital signal from the device, why not
just use E-Prime's built-in "ReadPort()" function? You had to use an
external .exe in VB because VB does not provide any functions to read
from or write to arbitrary I/O ports, but one of the virtues of
E-Prime is that this ability is already built in with the added
ReadPort() and WritePort methods. You might want to give that a try.
---
David McFarlane, Systems Designer
Dept. Psychology, Michigan State University
mcfarla9 at msu.edu www.msu.edu/~mcfarla9
Voice: (517) 353-0799 Fax: (517) 353-1652
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20071107/3fda45a5/attachment.htm>
More information about the Eprime
mailing list