Muse and OpenVibe 2.1.0
Posted: Fri Jun 01, 2018 10:44 am
Hello,
as topic i'm trying to interface Muse 2016 using muse-lsl (https://github.com/alexandrebarachant/muse-lsl) with openvibe.
I do following steps:
1)connect to muse via muse-lsl so to start the LSL stream
~/muse-lsl# python muse-lsl.py -n Muse-8E22
Found device Muse-8E22 : 00:55:DA:B0:8E:22
Connected
Streaming
2)Start Acquisition server,select LSL,click on driver properties and i can see as signal stream Muse.
I click apply,then connect
:~/meta/dist/extras-Release# ./openvibe-acquisition-server.sh
12870 (process ID) old priority 0, new priority 19
[ INF ] Created kernel loader, trying to load kernel module
[ INF ] Kernel module loaded, trying to get kernel descriptor
[ INF ] Got kernel descriptor, trying to create kernel
[ INF ] Adding kernel configuration file [/root/meta/dist/extras-Release/share/openvibe/kernel/openvibe.conf]
[ INF ] Logging to '/root/.config/openvibe-2.1.0/log/openvibe-acquisition-server.log'
[ INF ] Adding plugins from [/root/meta/dist/extras-Release/lib/libopenvibe-plugins-*-stream-codecs*.so]
[ INF ] Added 19 plugin object descriptor(s) from [/root/meta/dist/extras-Release/lib/libopenvibe-plugins-sdk-stream-codecs.so]
[ INF ] Loading plugin: ExternalStimulations (deprecated)
[ INF ] Loading plugin: TCP Tagging
[ INF ] Loading plugin: LSL Output
[ INF ] Loading plugin: Fiddler
[ INF ] Connecting to device [LabStreamingLayer (LSL)]...
[ INF ] Opened an LSL stream with 5 channels and a nominal rate of 256 hz adjusted to 256 hz.
[ INF ] Connection succeeded !
3)Start the openvibe designer with network-acquisition scenario
4)Press play on acquisition server and start see the following:
[ INF ] Starting the acquisition...
[ INF ] Now acquiring...
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
5)Press play on the designer , channels are recognized but no signal
I tested also with
/root/meta/dependencies/arch/LSL/liblsl-Python/examples/SendData.py
[ INF ] Connecting to device [LabStreamingLayer (LSL)]...
[ INF ] Opened an LSL stream with 8 channels and a nominal rate of 100 hz adjusted to 100 hz.
[ INF ] Connection succeeded !
[ INF ] Starting the acquisition...
[ INF ] Now acquiring...
[ INF ] Received new connection...
and it works OK.I can see signal in designer.
While if i use
/root/meta/dependencies/arch/LSL/liblsl-Python/examples/SendDataAdvanced.py
[ INF ] Connecting to device [LabStreamingLayer (LSL)]...
[ INF ] Opened an LSL stream with 8 channels and a nominal rate of 100 hz adjusted to 100 hz.
[ INF ] Connection succeeded !
[ INF ] Starting the acquisition...
[ INF ] Now acquiring...
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
I see less timeout than using muse,so i can see some signal on designer but with a lot of blank spaces.
Anyone can shed some light on this?
Regards and keep up with good works,
Giampaolo
as topic i'm trying to interface Muse 2016 using muse-lsl (https://github.com/alexandrebarachant/muse-lsl) with openvibe.
I do following steps:
1)connect to muse via muse-lsl so to start the LSL stream
~/muse-lsl# python muse-lsl.py -n Muse-8E22
Found device Muse-8E22 : 00:55:DA:B0:8E:22
Connected
Streaming
2)Start Acquisition server,select LSL,click on driver properties and i can see as signal stream Muse.
I click apply,then connect
:~/meta/dist/extras-Release# ./openvibe-acquisition-server.sh
12870 (process ID) old priority 0, new priority 19
[ INF ] Created kernel loader, trying to load kernel module
[ INF ] Kernel module loaded, trying to get kernel descriptor
[ INF ] Got kernel descriptor, trying to create kernel
[ INF ] Adding kernel configuration file [/root/meta/dist/extras-Release/share/openvibe/kernel/openvibe.conf]
[ INF ] Logging to '/root/.config/openvibe-2.1.0/log/openvibe-acquisition-server.log'
[ INF ] Adding plugins from [/root/meta/dist/extras-Release/lib/libopenvibe-plugins-*-stream-codecs*.so]
[ INF ] Added 19 plugin object descriptor(s) from [/root/meta/dist/extras-Release/lib/libopenvibe-plugins-sdk-stream-codecs.so]
[ INF ] Loading plugin: ExternalStimulations (deprecated)
[ INF ] Loading plugin: TCP Tagging
[ INF ] Loading plugin: LSL Output
[ INF ] Loading plugin: Fiddler
[ INF ] Connecting to device [LabStreamingLayer (LSL)]...
[ INF ] Opened an LSL stream with 5 channels and a nominal rate of 256 hz adjusted to 256 hz.
[ INF ] Connection succeeded !
3)Start the openvibe designer with network-acquisition scenario
4)Press play on acquisition server and start see the following:
[ INF ] Starting the acquisition...
[ INF ] Now acquiring...
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
5)Press play on the designer , channels are recognized but no signal
I tested also with
/root/meta/dependencies/arch/LSL/liblsl-Python/examples/SendData.py
[ INF ] Connecting to device [LabStreamingLayer (LSL)]...
[ INF ] Opened an LSL stream with 8 channels and a nominal rate of 100 hz adjusted to 100 hz.
[ INF ] Connection succeeded !
[ INF ] Starting the acquisition...
[ INF ] Now acquiring...
[ INF ] Received new connection...
and it works OK.I can see signal in designer.
While if i use
/root/meta/dependencies/arch/LSL/liblsl-Python/examples/SendDataAdvanced.py
[ INF ] Connecting to device [LabStreamingLayer (LSL)]...
[ INF ] Opened an LSL stream with 8 channels and a nominal rate of 100 hz adjusted to 100 hz.
[ INF ] Connection succeeded !
[ INF ] Starting the acquisition...
[ INF ] Now acquiring...
[ INF ] Timeout reading sample from 0, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
[ INF ] Timeout reading sample from 8, filled rest of block with NaN
I see less timeout than using muse,so i can see some signal on designer but with a lot of blank spaces.
Anyone can shed some light on this?
Regards and keep up with good works,
Giampaolo