BioSemi

Introduction

BioSemi is the EEG signal acquisition device used at SCCN. The time it takes for a BioSemi amplifier to send its data to a computer program that timestamps each sample using labstreaminglayer was measured by Matthew Grivich using a National Instruments data acquisition device (NIdaq) as a control clock. This experiment is detailed here. In that case a latency of 7.72ms was measured.

Experimental Procedure

In order to verify these results, we use the same procedure. The NIdaq program used to generate the signal and the markers can be downloaded here. The program and the device patch is setup to:

Results

Previously, (using the same procedure) it was determined that the latency of BioSemi was 7.72ms. The more recent experiments find a very similar, but not exactly the same, value but, only for the BioSemi Analog Input Box, and when collecting the EEG channel subset 'all'.

It turns out that this latency changes based on what subset of EEG inputs are used. The latency values are also slightly different, depending on whether or not the Analog Input Box (AIB), or the ActiveTwo Box (AD-Box)

Here you will find a table detailing the latency, standard deviation and jitter for each of the two boxes in each mode. Here is a spreadsheet in xlsx format. Discluding the AUX channels had minimal impact, so these values are not included. These boxes can also be daisy chained together (and this is often done in our lab) so in future I will provide results for more configurations. Please email me at dmedine@ucsd.edu if some configuration's latency needs be known immediately. Also coming soon is the same data when the App is the mode in which it downsamples to 512Hz.

IMPORTANT!!!

As of now (3/13/2015) the BioSemi App that is bundled with the LSL package automatically reduces its timestamps by 7.72ms. If you are unsure whether or not this happening, you can check by opening an xdf in XDFViewer and looking for the descriptor:

<desc>
  <synchronization>        
<offset_mean>0.00772</offset_mean>
</synchronization> </desc>
This means that 7.72ms will be subtracted from all the data timestamps by the Mobilab XDF loading procedure. This will change in future editions of BioSemi.exe to account for the different setups. You can always adjust this by hand simply by adding or subtracting the appropriate amount to the BioSemi data timestamps in your analysis code.

Finally, histograms and binned latency times are accumulated here.