This article applies to:
E-Prime 1.2
Detail
Welcome to the E-Prime 1.2 timing Knowledge Base article. This article is dedicated to issues regarding critical timing using the E-Prime 1.2 software package.
E-Prime 1.2 millisecond accuracy
E-Prime reports timing accuracy to the millisecond precision level. Although E-Prime coordinates with the operating system and external devices to continually have control of the computer's execution, the operating system or other devices can take control at any time, which will cause an experiment to be suspended while the operating system task is completed. When these instances occur, E-Prime continues to accurately timestamp so that post-analysis can filter the trials correctly.
E-Prime 1.2 and Operating System Compatibility
As stated above, E-Prime reports timing accuracy to the millisecond precision level. For a full listing of Operating Systems that PST has thoroughly tested with E-Prime 1.2 for timing accuracy, please see the following Knowledge Base article: INFO: Operating system (Windows 10, Windows 8.1, Windows 8, Windows 7, Vista, and XP) support in E-Prime [18652]. What exactly does this mean? For example in the RefreshClockTest experiment used to verify and evaluate subject station timing capabilities, an E-Prime 1.2 supported machine is likely to have a larger maximum missed tick, but less of them in comparison to the same machine running an unsupported version of E-Prime 2.0. Using the 1% rule, almost all machines that meet the system recommendations will be capable of collecting critical trial data. PST encourages all machines expected to collect subject data to run the RefreshClockTest to verify their ability to collect critical trial data. For more information, please consult the 'Critical Timing' chapter in the E-Prime documentation.
Verify subject data stations with RefreshClockTest
PST encourages all machines expected to collect subject data to run the RefreshClockTest to verify their ability to collect critical trial data. We have conducted thousands of timing tests on computers ranging from Pentium 60s - Pentium 500s with Pentium, Celeron, and AMD microprocessors on variety of cards and software methods. Our tests show that E-Prime is accurate for millisecond precision timing. Windows takes over control of your computer at times to do operating system maintenance; this can be minimized but not blocked completely (remember the operating system has the highest priority). In our tests normal programs miss millisecond events much of the time (e.g. miss rates on a Pentium 60 of 58% and Pentium 500 of 43%). This means that timing via conventional programming reading a microsecond clock can be wrong at the millisecond level most of the time. We have developed and implemented within E-Prime, special timing systems that deliver high timing accuracy (e.g., our millisecond tick miss rate is down to 0.005% on a mid range Pentium 266, millisecond timing accuracy of 99.995%). Even more important, we have added a major innovation, Automatic Time Audit Logging, that records your timing precision in an easy to review/analyze method (e.g. mean display duration 109.4 ms, SD 0.49 ms). Using our Automatic Time Audit technology is likely the only way you can be sure of your timing accuracy without adding expensive specialized hardware. For detailed results of our timing tests and more information on what the results mean to you, please review TIMING: E-Prime Timing Test Results [27520] and OVERVIEW: Timing in E-Prime [23285].
Timing Benchmarks
Not all devices are created equal. PST has undergone a number of timing tests with a number of PS/2 and USB keyboards and mice. Our preliminary timing tests have shown a wide range of variability between devices of the same class. Sound cards are even more prone to the same variability. Please check back to this section as updated timing benchmark results will be posted for the devices/machines that PST has tested.
E-Prime 1.2 Stimulus Device Response Timing Values
The following is a table of average and standard deviation results for the timing test paradigms used by PST to determine device latency. The experiment presented a square stimulus in the middle of the screen for 100 trials. The refresh detector connected to http://www.blackboxtoolkit.comaccepted the stimulus which in turned fired a stimulus event 100ms later to trigger electronic components connected to the devices to mimic a human response. In addition to the 100ms delay value from when the stimulus was presented a 5ms value was subtracted from the received RT value because the experiment station was running at 100hz and the stimulus was presented in the middle of the screen. For example, if the RT value was 225.45, the actual RT would be 225.45 - 100 - 5 = 120.45.
The experiment used E-Prime 1.2.1.800 in Spring of 2006. The Black Box Toolkit was used to collect and fire the response simulation values. The response box used was a PST Serial Response Box Model 200a. It was used connected via the UART COM port as well as using a Aten UC232A USB to Serial cable. Information about the paradigm used as well as specifics on the devices used or altered to simulate the responses and machines used to collect the data available upon request and intended to be posted to this timing site in future revisions. The same tests were run with an HP ZD7000 laptop running E-Prime 1.2 that collected the stimulus with a refresh detector attached to the SRBOX as well as simulating the response 100ms later. Unlike the subtraction for 1/2 the screen refresh, the latency values inherent via the SRBOX have not be subtracted from the E-Prime Timing Station tables which result in an approximate 2ms increase in the average values.
Since the original release of E-Prime in 2001, overall machine speed increases and enhancements have occurred in keyboard and mouse hardware technology to improve the average and stdev values of mouse and keyboard devices. The values reinforce that a device average and stddev values can vary between machine and operating system. In addition, as outlined in "How choice of mouse may affect response timing in psychological studies" (Plant R.R.; Hammond N.; Whitehouse T, May 2003), the timing characteristics of exact model devices (e.g. as extreme as purchasing two Microsoft USB Intellimouse from the same vendor) can also have varying timing characteristics.
Dell Dimension 8400 (3.0 GHZ) Timing Station: HP ZD7000 laptop - Windows XP
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 23.48 |
StdDev | 2.80 | |
Keyboard (USB Belkin) | Average | 39.84 |
StdDev | 8.30 | |
Keibyard (USB Dell) | Average | 13.98 |
StdDev | 0.74 | |
Mouse (PS/2 Microsoft Ball) | Average | 23.40 |
StdDev | 2.95 | |
Mouse (USB Interex) | Average | 14.01 |
StdDev | 0.70 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 17.60 |
StdDev | 2.52 | |
Parallel Port | Average | 0.16 |
StdDev | 0.37 | |
SRBox (Serial Model 200a) | Average | 1.84 |
StdDev | 0.61 | |
SRBox (USB 2 Serial Model 200a) | Average | 1.99 |
StdDev | 0.66 |
Dell Dimension 8200 (2.4 GHZ) Timing Station: HP ZD7000 laptop - Windows XP
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 31.74 |
StdDev | 3.26 | |
Keyboard (USB Belkin) | Average | 46.20 |
StdDev | 8.56 | |
Keibyard (USB Dell) | Average | 19.42 |
StdDev | 3.67 | |
Mouse (PS/2 Microsoft Ball) | Average | 35.68 |
StdDev | 4.06 | |
Mouse (USB Interex) | Average | 28.00 |
StdDev | 5.23 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 31.30 |
StdDev | 5.95 | |
Parallel Port | Average | 0.09 |
StdDev | 0.29 | |
SRBox (Serial Model 200a) | Average | 1.73 |
StdDev | 0.68 | |
SRBox (USB 2 Serial Model 200a) | Average | 1.85 |
StdDev | 0.66 |
NOTE: The tables above used a HP ZD7000 with The BlackBox Toolkit as the Timing Station. The tables below used a HP ZD7000 laptop using E-Prime as the Timing Station.
Micron PIII-866 Timing Station: HP ZD7000 Laptop - Windows 2000
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 37.50 |
StdDev | 4.36 | |
Keibyard (USB Dell) | Average | 25.37 |
StdDev | 4.22 | |
Mouse (PS/2 Microsoft Ball) | Average | 48.85 |
StdDev | 17.56 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 35.53 |
StdDev | 13.29 | |
Parallel Port | Average | 2.21 |
StdDev | 0.70 | |
SRBox (Serial Model 200a) | Average | 4.02 |
StdDev | 0.83 |
Micron PIII-866 Timing Station: HP ZD7000 Laptop - Windows ME
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 26.90 |
StdDev | 2.54 | |
Keibyard (USB Dell) | Average | 13.99 |
StdDev | 2.55 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 21.63 |
StdDev | 2.24 | |
Parallel Port | Average | 2.32 |
StdDev | 0.70 | |
SRBox (Serial Model 200a) | Average | 2.59 |
StdDev | 0.89 |
Dell Dimension 8400 (3.0 GHZ) Timing Station: HP ZD7000 Laptop - Windows ME
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 25.91 |
StdDev | 2.88 | |
Keibyard (USB Dell) | Average | 13.62 |
StdDev | 0.76 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 19.55 |
StdDev | 2.40 | |
Parallel Port | Average | 2.16 |
StdDev | 0.70 | |
SRBox (Serial Model 200a) | Average | 2.47 |
StdDev | 0.80 |
Dell Dimension 8400 (3.0 GHZ) Timing Station: HP ZD7000 Laptop - Windows XP
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 25.65 |
StdDev | 3.03 | |
Keyboard (USB Belkin) | Average | 39.84 |
StdDev | 8.30 | |
Keibyard (USB Dell) | Average | 13.98 |
StdDev | 0.72 | |
Mouse (PS/2 Microsoft Ball) | Average | 23.40 |
StdDev | 2.95 | |
Mouse (USB Interex) | Average | 14.01 |
StdDev | 0.70 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 19.77 |
StdDev | 2.52 | |
Parallel Port | Average | 2.18 |
StdDev | 0.92 | |
SRBox (Serial Model 200a) | Average | 3.71 |
StdDev | 1.01 | |
SRBox (USB 2 Serial Model 200a) | Average | 1.99 |
StdDev | 0.66 |
Dell Dimension 8200 (2.4 GHZ) Timing Station: HP ZD7000 Laptop - Windows ME
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 25.42 |
StdDev | 2.89 | |
Keibyard (USB Dell) | Average | 12.87 |
StdDev | 0.71 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 19.40 |
StdDev | 2.32 | |
Parallel Port | Average | 2.22 |
StdDev | 0.70 | |
SRBox (Serial Model 200a) | Average | 2.60 |
StdDev | 0.82 |
Dell Dimension 8200 (2.4 GHZ) Timing Station: HP ZD7000 Laptop - Windows XP
Response Device | Statistic | Value (ms) |
---|---|---|
Keyboard (PS/2 Gateway) | Average | 32.90 |
StdDev | 3.79 | |
Keyboard (USB Belkin) | Average | 46.20 |
StdDev | 8.56 | |
Keibyard (USB Dell) | Average | 22.28 |
StdDev | 3.52 | |
Mouse (PS/2 Microsoft Ball) | Average | 35.68 |
StdDev | 4.06 | |
Mouse (USB Interex) | Average | 28.00 |
StdDev | 5.23 | |
Mouse (USB Microsoft Intellimouse Infrared) | Average | 32.67 |
StdDev | 5.22 | |
Parallel Port | Average | 2.07 |
StdDev | 0.93 | |
SRBox (Serial Model 200a) | Average | 3.73 |
StdDev | 1.10 | |
SRBox (USB 2 Serial Model 200a) | Average | 1.85 |
StdDev | 0.66 |
Sound Startup Latency Tests
E-Prime reports millisecond accurate timing. This does not mean that E-Prime is capable of making hardware do things it cannot. For experiment paradigms that require auditory stimuli, much care and concern should be considered with the hardware being used. Sound cards can have good or poor startup latency, which is the time from when E-Prime tells the sound card to play sound to when the sound actually emits from the sound card or speakers. Not all sound cards are created equal. Results can also depend on the selected sound card driver and selected API (application programming interface). The default API used by Windows XP and E-Prime 1.0, E-Prime 1.1, E-Prime 1.2, and E-Prime 2.0 is DirectSound, which is the capabilities offered by DirectX. E-Prime 2.0.10.X allows for the option of selecting the DirectSound, ASIO or CoreAudio/WASAPI APIs so that the API with the lowest possible sound latency for a particular sound card may be used.
For more information on APIs in Windows Vista and 7, please see this article: INFO: Sound Latency - Windows Vista / Windows 7 (and beyond) [18833] . To determine the best API for your hardware, please see the chart below or use our SoundTester program as detailed in this article: INFO: Use of SoundTester to determine machine compatibility with ASIO or Core Audio/WASAPI [18834]. Also, note that if the DirectSound sound startup latencies reported below are acceptable for a specific paradigm, the E-Prime experiment's Sound device will not need to be configured or changed and the defaults may be used.
PST encourages using external equipment to determine the startup latency of your sound card. For our tests, we collected data using a Black Box Toolkit (BBTK) connected to a HP ZD7000 laptop. For more information on the BBTK, please visit their website at http://www.blackboxtoolkit.com. Each experiment computer generated a sound as well as a parallel port pulse that was detected by the BBTK's microphone and line in respectively. All sounds were sent through the same Altec Lansing VS2620 speakers. There were a total of 18 sounds and port pulses collected for each session. The experiment paradigm used white noise files that were set to 2 channels, 16 bit, and 44.1Khz. The parallel port pulse was sent at the start of the SoundOut object in the experiment paradigm. Since parallel port pulses have been shown to have extremely low latency, the receipt of this pulse represented the time that the sound was sent from E-Prime to Windows for processing. This was compared to the time that the BBTK received the sound through the experiment computer's speakers. The difference in these two times represented the sound startup latency, that is, the amount of time that Windows, the sound card, and the speakers processed the sound before it was audible.
As a result of our tests for Windows 7, PST generally recommends on board sound with the default High Definition Audio Device driver and the CoreAudio API. In Windows Vista, we recommend an add-on PCI or PCIesound card with the manufacturer's driver and the CoreAudio API. For Windows XP, on board sound was found to be comparable to some add-on cards.
E-Prime Version 1.2 Sound Card Startup Latency Results
Adapter | Type | Machine | Operating System | Mean (ms) | StdDev | Min (ms) | Max (ms) |
---|---|---|---|---|---|---|---|
Sound Blaster 128 | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 6.708 | 2.116 | 1.000 | 9.000 |
Sound Blaster Live! | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 2.042 | 0.2.04 | 2.000 | 3.000 |
Sound Blaster Audigy 2 | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 2.500 | 0.590 | 2.000 | 4.000 |
Sound Blaster Live! 24 External | USB | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10.208 | 2.146 | 7.000 | 14.000 |
Turtle Beach Santa Cruz | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 3.083 | 0.408 | 3.000 | 5.000 |
Avance Logic AW200 | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 7.667 | 1.274 | 6.000 | 12.000 |
Yamaha Xwave A571-T20 ESS Allegro | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 12.792 | 3.189 | 7.000 | 16.000 |
Sound Blaster Ensoniq | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 4.875 | 3.803 | 1.000 | 16.000 |
Sound Blaster Audigy2 PCMCIA | PCMCIA (Laptop) | HP ZD7000 2.8GHZ | Windows XP SP2 | 3.333 | 0.482 | 3.000 | 4.000 |
Conexant AMC Audio | Motherboard Chipset | HP ZD7000 2.8GHZ | Windows XP SP2 | 18.000 | 0.000 | 18.000 | 18.000 |
Paradigm
The paradigm used on the E-Prime side was the SoundExperimentStation.es file. The sound devices were set at 2 channels, 16 bit, 44.1Khz. A white noise sound file was used. Event generation file used on the BBTK The results are from 24 trials per subject/session.
E-Prime 1.2.1.841 was used.
- The E-Prime desktop computer was a Dell 8200 Desktop (2.2 GHZ).
- 2.2 GHZ machine running Windows XP SP2.
- The E-Prime laptop computer was an HP ZD7000.
- 2.8 GHZ machine running Windows XP SP2.
- The BBTK computer was an HP ZD7000
- 3.0 GHZ machine running Windows XP SP2
- Hyperthreading was turned on all computers.
- The MSCONFIG diagnostic mode was used to shut down background applications and services.
Parallel Port Tests
The following are results of using E-Prime and the BBTK to send and receive various square waves. In the sending paradigm, the E-Prime computer would send square wave values to the Parallel Port, which was connected to the BBTK and received through its Stimulus Capture application. In the receiving paradigm, theE-Prime computer receive square wave values from the Parallel Port, which was connected to the BBTK and sent through its Event Generation application. Each square wave was sent at 50% duty cycle of 1/2 the time up and 1/2 the time down. For example, a 2ms square wave would issue 1ms of high time and 1ms of low time, a 10ms square wave would issue 5ms of high time and 5ms of low time. These are results from one paradigm under a set of hardware and circumstances. The results of these tests do not imply that hardware will behave identically under all circumstances and configurations. Each lab machine should be tested with appropriate equipment.
Parallel Port Receiver Results 5ms
Adapter | Type | Machine | Operating System | Expected (ms) | Mean (ms) | StdDev | Min (ms) | Max (ms) |
---|---|---|---|---|---|---|---|---|
OnBoard | Motherboard Chipset | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 5 | 4.980 | 0.105 | 4.219 | 5.028 |
SYBA SD-PCI-1PI | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 5 | 4.997 | 0.014 | 4.963 | 5.025 |
K outech 1 NPI | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 5 | 5.000 | 0.016 | 4.933 | 5.035 |
SIIG CyberParallel JJ-P00112 | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 5 | 5.001 | 0.016 | 4.947 | 5.039 |
SYBA SD-PCI-4S1P | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 5 | 4.997 | 0.016 | 4.964 | 5.047 |
Sunix 4008A | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 5 | 5.000 | 0.025 | 4.909 | 5.175 |
OnBoard | Motherboard Chipset | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 5 | 4.998 | 0.061 | 4.598 | 5.081 |
Quatech SPP-100 | PCMCIA | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 5 | 5.004 | 0.051 | 4.857 | 5.132 |
TransDigital TransPC Card | PCMCIA | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 5 | 5.042 | 0.391 | 4.921 | 8.876 |
Parallel Port Receiver Results 10ms
Adapter | Type | Machine | Operating System | Expected (ms) | Mean (ms) | StdDev | Min (ms) | Max (ms) |
---|---|---|---|---|---|---|---|---|
OnBoard | Motherboard Chipset | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10 | 10.001 | 0.014 | 9.970 | 10.029 |
SYBA SD-PCI-1PI | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10 | 10.000 | 0.018 | 9.905 | 10.030 |
K outech 1 NPI | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10 | 10.003 | 0.015 | 9.969 | 10.036 |
SIIG CyberParallel JJ-P00112 | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10 | 10.003 | 0.016 | 9.970 | 10.043 |
SYBA SD-PCI-4S1P | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10 | 10.001 | 0.016 | 9.967 | 10.052 |
Sunix 4008A | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 10 | 9.995 | 0.074 | 9.390 | 10.041 |
OnBoard | Motherboard Chipset | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 10 | 9.999 | 0.034 | 9.914 | 10.077 |
Quatech SPP-100 | PCMCIA | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 10 | 10.034 | 0.387 | 9.812 | 13.805 |
TransDigital TransPC Card | PCMCIA | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 10 | 10.011 | 0.086 | 9.882 | 10.707 |
Parallel Port Receiver Results 100ms
Adapter | Type | Machine | Operating System | Expected (ms) | Mean (ms) | StdDev | Min (ms) | Max (ms) |
---|---|---|---|---|---|---|---|---|
OnBoard | Motherboard Chipset | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 100 | 99.994 | 0.080 | 99.216 | 100.034 |
SYBA SD-PCI-1PI | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 100 | 100.001 | 0.021 | 99.857 | 100.035 |
K outech 1 NPI | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 100 | 100.004 | 0.015 | 99.969 | 100.032 |
SIIG CyberParallel JJ-P00112 | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 100 | 100.002 | 0.015 | 99.968 | 100.034 |
SYBA SD-PCI-4S1P | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 100 | 100.010 | 0.106 | 99.967 | 101.047 |
Sunix 4008A | PCI | Dell 8200 Desktop (2.2 GHZ) | Windows XP SP2 | 100 | 100.003 | 0.016 | 99.968 | 100.033 |
OnBoard | Motherboard Chipset | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 100 | 99.999 | 0.074 | 99.393 | 100.091 |
Quatech SPP-100 | PCMCIA | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 100 | N/A | N/A | N/A | N/A |
TransDigital TransPC Card | PCMCIA | HP ZD7000 Laptop (2.8 GHZ) | Windows XP SP2 | 100 | N/A | N/A | N/A | N/A |
Paradigm
The paradigm used on the E-Prime side was the PortSenderReceiver event generation file used on the BBTK. A minimum of 100 square waves were sent or received per subject/session run.
E-Prime 1.2.1.841 was used.
- The E-Prime desktop computer was a Dell 8200 Desktop (2.2 GHZ).
- 2.2 GHZ machine running Windows XP SP2.
- The E-Prime laptop computer was an HP ZD7000.
- 2.8 GHZ machine running Windows XP SP2.
- The BBTK computer was an HP ZD7000
- 3.0 GHZ machine running Windows XP SP2
- Hyperthreading was turned on all computers.
- The MSCONFIG diagnostic mode was used to shut down background applications and services.
See Also:
TIMING: E-Prime 3.0 Timing Data [24332]
TIMING: E-Prime 2.0 Timing Data [19579]
INFO: Sound Latency - Not all sound cards provide optimal millisecond timing [17206]
Comments
0 comments
Please sign in to leave a comment.