Template: Button / Keyboard Response and RT Calculation
#1
Button / Keyboard Response and RT calculation - Non-Eye Tracking Example

Required Experiment Builder Version: 1.4.1 or higher
EyeLink Required: No
Type: Concept Example
Difficulty Level: Easy

This example illustrates:
  • How to use Keyboard node to get key presses
  • How to calculate the key press RT (See GET_RESPONSE node -> RESPONSE_TIME)
  • How to display trial accuracy feedback based on the key pressed
  • How to use Timer trigger to create a Timeout trial
  • How to use Result File node to save results to a TXT file
Description:

This example consists of a single block with 12 trials. On each trial the participant must respond if the target appears on the right or left size of the screen using the [Z] or [/] keys. The key pressed, response time, reaction time relative to the Display Screen onset time (.time), and accuracy of response are all collected and logged with each trial. If the participant fails to respond within a 5 second window from the onset of the Display Screen, the trial will end with the appropriate data logged for failure to respond. This example collected behavioral data only and does not utilize any gaze tracking

**Additional detailed information about the project is given in the notes section for most nodes. To see notes for a given node, either mouse over that node or click on it to display the notes window. If the notes window is not visible, go to the "View" drop down menu in Experiment Builder, select "Properties", and check "Note".

Instructions:
  1. Download the Simple_Key.ebz example from this message.
  2. Launch the Experiment Builder application.
  3. Unpack the Simple_Key.ebz file to a location on your Experiment Builder PC with "File -> Unpack".
  4. Open the project in Experiment Builder.
  5. Deploy the project to a new folder.
  6. Run the Simple_Key.exe from the deployed directory.


.ebz   Simple_Key.ebz (Size: 27.6 KB / Downloads: 124)


#2
Button / Keyboard Response and RT calculation - Eye Tracking Example

Required Experiment Builder Version: 1.4.1 or higher
EyeLink Required: No
Type: Concept Example
Difficulty Level: Easy

This example illustrates:
  • Getting key presses
  • Calculating the key press response time
  • Displaying feedback based on the key pressed
  • And reporting the results to a result file.

Description:
This example consists of a single block with 12 trials. On each trial the participant must respond if the target appears on the right or left size of the screen using the "Z" or "/" keys. The key pressed, response time, reaction time relative to the display screen, and accuracy of response are all collected and logged with each trial. Likewise, if the participant fails to respond within a 5 second window from the onset of the display the trial will end with the appropriate data logged for failure to respond. This example utilizes the eye tracker and collects behavioral data along side the gaze data.

Instructions:
  1. Download the Simple_Button.ebz example from this message.
  2. Launch the Experiment Builder application.
  3. Unpack the Simple_Button.ebz file to a location on your Experiment Builder PC with "File menu -> Unpack".
  4. Open the project in Experiment Builder.
  5. Deploy the project to a new folder.
  6. Run the Simple_Button.exe from the deployed directory.


.ebz   Simple_Button.ebz (Size: 32.62 KB / Downloads: 65)