This article applies to:
This sample illustrates serial 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 particpant's response to the serial port.