This article applies to:
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Detail
This sample illustrates serial port communications between two E-Prime machines. The sending machine transmits a line of text, with echo to the screen by the receiving machine.
Abstract
This experiment illustrates serial port communications. Two E-Prime machines are connected via the serial port using a null modem cable/adaptor. At runtime, the user is asked to designate whether each machine is acting as sender or receiver (the receiving machine should be launched first).
The sending machine sends a line of text terminated by {ENTER}. Upon receipt of a line of text, the receiving machine echos the string to the display accompanied by a line number. Both processes terminate upon the entering of "end" from the sending machine.
NOTE: This sample requires the use of a null modem cable/adaptor, and potentially a gender adaptor.
See Also:
Comments
0 comments
Please sign in to leave a comment.