This article applies to:
Experiment Author: Psychology Software Tools, Inc.
The Chronos Adapter for ANT Neuro sample experiment illustrates how to use Task Events to send markers from the E-Prime experiment to the ANT Neuro system.
The sample experiment presents a Visual Oddball Task: each trial presents the letter "O" or "X" and the participant's task is to distinguish between these letters. 80% of the trials present the letter "O" and 20% of the trials present the letter "X". The experiment sends the marker value 1 when the letter "O" is shown and the value 128 when the letter "X" is shown.
The Chronos Adapter for ANT Neuro provides access to 8 digital outputs (from Chronos to the ANT Neuro XS-230 adapter) as shown below:
When Chronos sends a marker on its first digital output, the ANT Neuro system receives the value on Digital Input 0 (pin 2). When Chronos sends a marker on its eighth digital output, the system receives it on Digital Input 7 (pin 9). To determine which ANT Neuro Digital Input receives the Chronos output, do the following:
- Represent the integer marker being sent as a binary number.
- Map the binary number to Chronos's digital outputs to determine which outputs are set high (set to 1).
- Examine which ANT Neuro Digital Inputs map to the Chronos Digital Outputs that are set high.
For example, the sample sends the integer value 1 when the stimulus = the letter "O":
- Integer value 1 equals the binary number 0000 0001 (Least Significant Bit is right-most bit).
- 0000 0001 sets the first Chronos digital output high; all other digital outputs are low.
- As shown in the table above, the first Chronos Digital Output maps to ANT Neuro Digital Input 0.
The sample sends the integer value 128 when the stimulus = the letter "X":
- Integer value 128 equals the binary number 1000 0000.
- 1000 0000 sets the eighth Chronos digital output high; all other digital outputs are low.
- The eighth Chronos Digital Output maps to ANT Neuro Digital Input 7.
NOTE: Extract all the files in the attached .zip file to the same folder. The sample experiment displays images that must be located in the same folder as the experiment.