This article applies to:
E-Prime 3.0
E-Prime 2.0
Detail
This sample allows the participant to choose an specific sample to run on a trial by trial basis.
Abstract
SamplesList contains all available trials and independent variables. SamplesList is run but not presented to the participant. This is to establish a specific order of trials whether they are sequential or random. SamplesList is currently set to Random Selection. The order of samples is tracked in a Global array, defined in User Script. TrackSamples logs the row number of SamplesList in the order selected to slots in the array (Slot 0 is unused).
SelectTrial allows the participant to use the right and left arrow keys on the keyboard to increment or reduce a number value on the screen representing which trial they want to run. Note this value does not neccessarily reflect the row number of SamplesList. The number selected represents the row that was sampled when SamplesList ran. For example, if SamplesList randomly selected row number 2 on the first iteration of SamplesProc, and the number 1 was selected on SelectTrial, then the trial selected would be trial number 1, which would run sample number 2.
Inline script is adapted from our Process Responses sample (Process Responses [30039]) to handle the responses made on SelectTrial. The SetupTrial Inline recalls the information from SamplesList and applies them to TrialList based on which trial was selected. This happens per trial that is selected. The experiment logs which trial was selected and runs the trial. After each trial, the experiment Jumps back to SelectTrial where participants can choose another trial to run or Jump to the end of the experiment by pressing the Escape key.
Comments
0 comments
Please sign in to leave a comment.