This example illustrates serial port communications. The E-Prime program waits for a signal from a device connected to the serial port, then runs the trials. During the trials, the response is written to the serial port.
This example illustrates port communications. The ReadString method of the Serial device is used to wait for a signal from a device connected to the serial port. Upon receipt of a signal, the experiment begins.
During each trial, the WriteString method of the Serial device is used to transmit the subject's response to the serial port.