How can I capture and manipulate live data from ActiveThree or ActiveTwo?

We are often asked one of several different flavors of this question. The version of the question people ask tends to depend on their preferred code development platform. People want to capture live data, manipulate it in some way, and either act on the data as it comes in (closed loop applications, such as brain-computer interface or neurofeedback), or just display and/or store the data in some way that is unique to their intended use of the system. They ask:

  • Can I read an ActiveThree BDF data file as it is written without interfering with the performance of the data acquisition software?
    • Yes, but the technique is not documented anywhere by Biosemi. Most important to know is that a BDF data files is closed after each block of data is written, so there is a window of time for reading the file between writes, and the length of that window depends on the speed of your computer processor, speed / efficiency of your storage medium, and your selected sampling rate (indirectly set by choosing a decimation ratio in ActiView).
  • Does the ActiView software have a built-in mechanism to stream full bandwidth live data over a network in a generic form that I can capture and manipulate with my own software in C#, Python, MATLAB, etc?
  • Is there an SDK for ActiveThree?
    • Yes, there is an SDK. See this page for SDK details. However, note that the SDK was written for ActiveTwo, and some special knowledge is needed to adapt it for use with ActiveThree. Biosemi has been willing to share additional details on a case-by-case basis.
  • Is LSL supported by ActiveThree? Or, is ActiveThree supported by LSL?
    • ActiView 10.2 and above for use with ActiveThree has an LSL server built-in. There is no need for a third-party Biosemi plugin. However, for ActiView 9.X and earlier versions for ActiveTwo, a third-party plugin was distributed with the Lab Streaming Layer distribution on GitHub.
  • Is Biosemi’s ActiView software open source?
    • Earlier versions of ActiView (9 and below, for ActiveTwo) were offered with LabVIEW source code. As of this date, no announcement has been made about whether source code for ActiView 10 will be made available.

So, for the most part, the answers to the various formulations of this question are “YES”.