This article applies to:
This sample demonstrates how to implement early termination of a running experiment in E-Prime, while still retaining all data logging. The sample uses the GetUserBreakState function.
This sample demonstrates how to implement a 'safe exit' of a running experiment in E-Prime using the GetUserBreakState function.
The critical script is in the 'BreakCheck' Inline object. To terminate the experiment early (and safely, with all logging intact) press the key sequence of CTRL+SHIFT during any trial; the experiment will recognize the sequence at the end of the current trial and then terminate the experiment.
NOTE: Once the user holds down CTRL+SHIFT, GetUserBreakState will continue to return a non-zero value even after the user has released the keys until an explicit call to SetUserBreakState is called to reset the value back to zero.
Please sign in to leave a comment.