Template: Random Duration Timer
#1
Random Duration Timer

Required Experiment Builder Version: 1.10.1025 or higher
EyeLink Required: Yes
Type: Concept Example
Difficulty Level: Easy

This example demonstrates:
  • How to generate a random Duration for the Timer trigger using the random.randint() Python function
Description:

This example demonstrates how to use a UPDATE_ATTRIBUTE to generate a value for the Duration property of the Timer trigger.

**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 Timer Duration Randomization.ebz example from this message.
  2. Launch the Experiment Builder application.
  3. Unpack the Simple Timer Duration Randomization.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 Timer Duration Randomization.exe from the deployed directory.


.ebz   Simple Timer Duration Randomization.ebz (Size: 28.71 KB / Downloads: 27)