Keyboard Calibration Using the Damn Laser

Almost no one care about how precise/reliable the keyboard pressing is, here, we built a damn cool equipment to examine this question. Broadly speaking, the time precision is good, mean variance is less than 0.2 ms. Well, let me find the raw data first, since it’s been done for a long time. Environment: MATLAB with… Continue reading Keyboard Calibration Using the Damn Laser

Tips to get USB keyboard index in Matlab while using KbQueueCheck

A keyboard index is necessary when using KbQueueCheck instead of KbCheck. So how to get a valid keyboard index of your desired USB keyboard? Credit: Jacob M. Paul in our lab. [Linux enviroment] 1. Check if the keyboard was recognized by the system. Steps: Plug in your USB keyboard -> Open Terminal -> Input “lsusb“… Continue reading Tips to get USB keyboard index in Matlab while using KbQueueCheck

Send Triggers via Parallel Port in Linux – using pp & ppMEX.c

This method is developed by Erik Flister. It is designed to read/write TTL levels on parallel port pins under Linux, win32 (using porttalk), or matlab32 on win64 (using io32). This method includes two code files: pp.m and ppMex.c. The way to implement this method is easy, just to insert a line of code in your matlab script. To even… Continue reading Send Triggers via Parallel Port in Linux – using pp & ppMEX.c

Install Biosemi Actiview on 64-bit Linux (Ubuntu)

Biosemi is a lazy EEG company… Biosemi developed their Linux recording software (Actiview) based on Labview 8.5 (32-bit). Actiview, therefore, has to run in a LabVIEW run-time engine (8.5) environment. It seems that they didn’t update this after release. A big problem is, who still use a 32-bit system? My lab currently builds a series… Continue reading Install Biosemi Actiview on 64-bit Linux (Ubuntu)