This article applies to:
E-Prime 1.x
Detail
NOTE: This sample uses deprecated methods to illustrate Parallel Port communication in E-Prime 1.x. This sample is provided for legacy purposes only. While the methods used in this sample are appropriate for E-Prime 1.x and early versions of E-Prime 2.0, they are deprecated in E-Prime 2.0.10.173 and later.
NOTE: Most Parallel Ports or PCI cards today support bi-directional communications and can detect which is needed automatically. E-Prime is capable of both sending and receiving markers through the Parallel Port, though not simultaneously. If you are using an older Parallel Port or PCI card, it may need to be configured specifically for input or output. Refer to Parallel Port Configure [30031].
NOTE: This sample assumes that the Parallel Port is configured for standard mode. If this program does not respond, you may need to modify the BIOS settings for the Parallel Port.
Abstract
This program illustrates communication with a device connected to the parallel port. The device used to design this experiment was a single button response device with two LEDs (one green, one red). The mapping of these components is as follows:
red lamp = bit 2
green lamp = bit 1
button = bit 7
The Port device is enabled in the Experiment Object Devices tab, and input via the port is enabled on the Stimulus object (i.e., the object collecting input). The bits to watch for input are designated in the Input properties for the Stimulus object.
NOTE: To send or receive markers through the correct port, the address of the Parallel Port must be configured correctly in E-Prime. Refer to DEVICE: Parallel Port Device [17150] for instructions on finding the Parallel Port's address.
The program presents the subject with a fixation and then a stimulus (X or Y). The subject is to respond by pressing the button on the device when an X is presented. When a Y is presented, the subject should not respond. The input is scored for accuracy and reaction time.
See Also:
INFO: How do I send a marker to an external device? [42521]
INFO: Legacy Methods to Send Markers to an External Device [17212]
Comments
0 comments
Please sign in to leave a comment.