09-09-2020, 10:05 AM
Using Lists
Required Experiment Builder Version: 1.10.1025 or higher
EyeLink Required: Yes
Type: Complete Example
Difficulty Level: Easy
This example illustrates:
These examples modify the Simple experiment provided with the SR Research Experiment Builder Examples and demonstrate how to use and shuffle lists. Whereas the elements in these lists are items to display on the screen, there is a wide variety of the things that can be stored in lists. The Simple example displays a single word on each trial.
**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".
NOTE: Please see our Randomizing Variables Outside of Data Source in Experiment Builder and Data Source Randomization in Experiment Builder Webinars for more randomization methods.
Instructions:
Simple_List_Pick_Element_With_Replacement.ebz (Size: 63.85 KB / Downloads: 28)
Simple_List_Shuffle_No_Replacement.ebz (Size: 81.67 KB / Downloads: 35)
Simple_List_Shuffle_With_Replacement.ebz (Size: 63.39 KB / Downloads: 24)
Required Experiment Builder Version: 1.10.1025 or higher
EyeLink Required: Yes
Type: Complete Example
Difficulty Level: Easy
This example illustrates:
- How to randomly generate a number at the beginning of the trial (Simple_List_Pick_Element_With_Replacement.ebz)
- How to use random.shuffle() function at the beginning of the trial (Simple_List_Shuffle_With_Replacement.ebz)
- How to use random.shuffle() function at the beginning of the block (Simple_List_Shuffle_No_Replacement.ebz)
These examples modify the Simple experiment provided with the SR Research Experiment Builder Examples and demonstrate how to use and shuffle lists. Whereas the elements in these lists are items to display on the screen, there is a wide variety of the things that can be stored in lists. The Simple example displays a single word on each trial.
**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".
NOTE: Please see our Randomizing Variables Outside of Data Source in Experiment Builder and Data Source Randomization in Experiment Builder Webinars for more randomization methods.
Instructions:
- Download the Simple_List_Pick_Element_With_Replacement.ebz and / or the Simple_List_Shuffle_With_Replacement.ebz and / or the Simple_List_Shuffle_No_Replacement.ebz example(s) from this message.
- Launch the Experiment Builder application.
- Unpack the file/s to a location on your Experiment Builder PC with "File menu -> Unpack".
- Open the project in Experiment Builder.
- Deploy the project to a new folder.
- Run the Simple_List_Pick_Element_With_Replacement.exe and / or the Simple_List_Shuffle_With_Replacement.exe and / or the Simple_List_Shuffle_No_Replacement.exe from the deployed directory.
Simple_List_Pick_Element_With_Replacement.ebz (Size: 63.85 KB / Downloads: 28)
Simple_List_Shuffle_No_Replacement.ebz (Size: 81.67 KB / Downloads: 35)
Simple_List_Shuffle_With_Replacement.ebz (Size: 63.39 KB / Downloads: 24)