register
Register
Apps »
IpBike » Feature request: Lab streaming layer LSL for live-stream to Matlab or Python
Started by Yoyo2014 Nov 30 2019, 01:55
Yoyo2014
Posts: 21 |
Nov 30 2019, 01:55
Peter Gamma alias Yoyo2014
"Lab streaming layer is a system for synchronizing streaming data for live analysis or recording. LSL is a good way to send your OpenBCI stream to applications that can record or manipulate the data, such as Matlab (see our Matlab tutorial for using LSL in this context).09.08.2019"
from:
https://docs.openbci.com/docs/06Software/02-CompatibleThirdPartySoftware/LSL
Arnaud Delorme, neuroscientist and developer of the widely used Matlab toolbox EEGLAB developed a Lab streaming layer interface for the Muse EEG headband. It was based on the Muse SDK of the Muse headband. Unfortunately, Interaxon stopped supporting the Muse SDK, and it was not available for download anymore.
James Clutterbuck, developer of the Android app Muse Monitor stated to put Lab streaming layer on the list to integrate it in new versions of the Muse Monitor to repair the broken Lab streaming layer interface to interface the Muse headband with Matlab and EEGLAB.
Integrate Lab streaming layer in IpBike for a live-stream to Matlab or Python, so that IpBike can be used for scientifc studies.
LabStreamingLayer can be found on the github of the Swartz Center for Computational Neuroscience (SCCN):
https://github.com/sccn/labstreaminglayer
|
|
Yoyo2014
Posts: 21 |
Apr 10 2020, 01:55
I bought a GARMIN Fenix 5 to test Davyd Lustys (Microsoft UK) solution to stream sensor data over Microsoft Azure to Microsoft Power BI. Unfortunatly, I failed.
To use my Fenix 5 for another purpose, I saw, that it supports bluetooth smart sensors. I saw that MATLAB now also supports bluetooth smart.
LSL is a well documented and accepted standard. But to find a solution, which is as easy as possible. Can IpBike stream to a PC or to MATLAB via bluetooth smart?
|
|
Yoyo2014
Posts: 21 |
Apr 11 2020, 01:04
Sorry, I mixed it up. Fenix 5 is not necessary for IpBike. But nevertheless I miss integration of the EventHubApp path in IpBike, which would allow to stream sensor data not only to Microsoft Power BI, but also to other targets:
https://forums.garmin.com/developer/connect-iq/f/discussion/209439/eventhubapp
And I miss the option to stream IpBike to Matlab via Bluetooth smart:
https://www.mathworks.com/matlabcentral/answers/308210-communicate-with-bluetooth-low-energy-ble-with-matlab
|
|
Yoyo2014
Posts: 21 |
Apr 11 2020, 17:20
Bluetooth smart sensors can be connected directly to Matlab without ipBike. But what about an IP stream to Matlab or other applications through IpBike? Is the sensor stream only a bit-stream which needs decoding? Or can the sensor stream directly be visualized and analyzed?
|
|
Yoyo2014
Posts: 21 |
Apr 18 2020, 16:12
I have tested the solution of Matthias Krallmann and the Fit File Repair Tool. It is now possible to export .fit file which where imported with the Fit File Repair Tool to Microsoft Access.
https://www.mathworks.com/matlabcentral/answers/394287-is-there-a-matlab-function-to-read-in-a-fit-file-from-a-garmin-device#answer_426776?s_tid=prof_contriblnk
Is Access not better as a database for sensor data than Matlab? The .fit file structure is not so transparent, but it is sufficient to work with.
When sensor data are streamed with IpBike, do I get just a .fit file stream?
Peter Gamma alias yoyo2014
|
|
Yoyo2014
Posts: 21 |
Apr 19 2020, 12:36
The domain
https://livetracking.io/de-de
from Niels Kisling is for sale. IpBike has a community of more than 2000 members on Strava:
https://www.strava.com/clubs/ipbike-6732
I think it should be possible to reassemble a live-stream from components Niels Kisling had used for Matlab:
https://www.mathworks.com/matlabcentral/answers/518101-is-there-an-example-how-to-stream-ant-sensor-data-live-to-matlab?s_tid=prof_contriblnk
or Python,
https://www.influxdata.com/blog/getting-started-python-influxdb/
which also has a Infux data base client:
https://github.com/influxdata/influxdb-python
|
|