App Connector Protocol Problem
Posted: 23 Jul 2014, 20:22
Hi Everyone,
I am attempting to read the state vector and control signal from BCI2000 using the app connector example shown in http_nospam_www.bci2000.org/wiki/index. ... _Connector. While I can connect to BCI2000 and receive data, the protocol is often clipping newline characters, or transmitting blank lines (or clipping the entire line?), so the result in the standard output is something similar to:
The program is running on an different machine (Ubuntu 14.04) to that of BCI2000 (Windows 7), however they are both on the same LAN so I can't see packet loss being the culprit of this many errors. I was hoping someone could enlighten me as to why this is happening and how to stop it as it makes parsing the data difficult.
At the moment I am just attempting to receive raw signal data, so I am using SignalGenerator as the source, and DummySignalProcessing and DummyApplication for the Signal Processing and Application modules respectively.
Thanks.
I am attempting to read the state vector and control signal from BCI2000 using the app connector example shown in http_nospam_www.bci2000.org/wiki/index. ... _Connector. While I can connect to BCI2000 and receive data, the protocol is often clipping newline characters, or transmitting blank lines (or clipping the entire line?), so the result in the standard output is something similar to:
Code: Select all
Signal(1,0) 16.845
Signal(1,1) 48.6541
Signal(1,2) 56.3917
Signal(1,3) 76.9754
Signal(1,4) 94.6816
Signal(1,5) 98.301
Signal(1,24) -21.7643Signal(2,4) 92.4908Signal(2,18) -96.7638Signal(2,25) -2.38242Running 1
SourceTime 54469
StimulusTime 38734
Signal(0,0) 95.0697
Signal(0,1) 85.3304
Signal(0,2) 76.4927
At the moment I am just attempting to receive raw signal data, so I am using SignalGenerator as the source, and DummySignalProcessing and DummyApplication for the Signal Processing and Application modules respectively.
Thanks.