Background
At the Black Box ToolKit we specialize in helping you achieve millisecond accurate presentation, synchronization, and response timing in your computer-based psychology experiments. Here are just a few of the things that can stop you doing just that!- TFT Input lag
- TFT response time
- Image intensity
- Sound card latency
- Response devices
- Voice keys
- 3rd party equipment
- OS issues
- Software settings
- Conditional biases
- The laws of physics




Need more help?
If you are unsure of how our products could work for you take a look at our What, Why and How pages. Answers to common application questions can be found in the FAQ section.If you have an application in mind but aren't sure, feel free to get in touch via email. Alternatively contact us by mail, phone or fax. We are here to help!
Operating system issues in psychology experiments

Layers and layers of operating system software APIs make it more difficult for application software such as a computer-based psychology experiment to interact directly with the actual hardware and obtain millisecond accurate timing. The Windows Presentation Foundation (WPF) built into the .NET framework is a classic example of this. In essence the WPF deals with everything that is drawn on screen. Even basic actions take much more processing time than you might imagine.
In a nutshell if you make use of development software such as Microsoft Visual Studio the application software you write is at such a high level each time you actually do something the code has to be interpreted and drill drown through various layers before being converted into a common runtime language and something happens. Before the .NET framework it was possible to hit the hardware directly and achieve much more reliable and accurate timing. This is why older but slower computers and less complex operating systems are capable of more consistent and accurate timing despite the hardware being on the face of it an order of magnitude slower.
Remember commercial experiment generators running psychology experiments will also have to deal with this level of complexity as might any bespoke software you write yourself.

Worryingly there is a trend to harmonize operating systems across a range of device and platforms. A classic example of this is Apples iOS on iPhones, iPads and Macs. In short you are always catering for the lowest common denominator and not optimising for each hardware platform. In much the same way Microsoft are extending their frameworks to cover desktop PC and tablets with more complex .NET runtimes.
Modern Apple platforms also suffer from this multilayered approach to development as the schematics below show. This is one reason why one operating system is necessarily better than another for running your computer-based psychology experiments.

Windows Presentation Foundation and .NET
Cocoa and Mac OS X/iOS