No data from WIFI shield + Cyton after starting session
Hello,
I was able to connect to the WIFI shield (Direct mode). I then clicked "Start Session" and it said everything was ready to go. However, when I clicked "Start Data Stream," there was no data sent to the GUI or the output text file.
For the Cyton board, should it be in the PC position? I've tried all combinations and it will connect but there will be no data.
Here is the output of OpenBCI GUI:
Console Log Started at Local Time: 2020-01-08_10-00-15
Screen Resolution: 1920 X 1080
Welcome to the Processing-based OpenBCI GUI!
For more information, please visit: https://openbci.github.io/Documentation/docs/06Software/01-OpenBCISoftware/GUIDocs
Launching application from local data dir
OpenBCI_GUI: hubStart: OS Detected: Linux
TopNav: Internet Connection Successful
Local Version: 417, Latest Version: 417
GUI is up to date!
OpenBCI_GUI::Setup: Is RX mulitcast: false
OpenBCI_GUI::Setup: Has RX joined multicast: false
OpenBCI_GUI::Setup: Sample Data exists in Documents folder.
ControlP5 2.2.6 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
The file "/home/martin/Documents/OpenBCI_GUI/Settings/UserPlaybackHistory.json" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
OpenBCI_GUI::Control Panel: Playback history file not found or other error.
OpenBCI_GUI::Setup: Setup is complete!
Instantiating hub object...
Hub: CheckHubInit: The GUI is connected to the Hub!
sourceList: click!
setInterface: curInterface: -1
channel count set to 8
Setting Latency to 10000
Setting WiFi Internet Protocol to udpBurst
Setting WiFi style to dynamic
[DEFAULT]: Protocol Wifi Selected for Cyton
setInterface: curInterface: 2
Setting sample rate for Cyton to 1000Hz
sample rate set to: 1000
[DEFAULT]: Transfer Protocol set to wifi
Setting WiFi style to static
[INFO]: Using Static IP address of the WiFi Shield!
CP: WiFi IP: Using Static IP address of the WiFi Shield!
Settings: LogFileMaxDuration = 60 minutes
Static IP address of 192.168.4.1
initButtonPressed: Calling initSystem()
=================================================
|| INITIALIZING SYSTEM ||
=================================================
OpenBCI_GUI: hub : Sent connect to Hub - Id: 192.168.4.1 SampleRate: 1000Hz Latency: 10000ms
InitSettings: Saving Default Settings to file!
SoftwareSettings: 3 active widgets saved!
LoadGUISettings: Applied Widget 0 to Container 4
LoadGUISettings: Applied Widget 2 to Container 9
LoadGUISettings: Applied Widget 11 to Container 3
Hub: sendCommand(String): sending '/0'
Cyton: setBoardMode to :DEFAULT
LoadGUISettings: Expert Mode Off
Hub: processCommand: success -- 9358
Networking: Protocol mode set to Serial
Networking Data Types || show num dropdowns = 13
Apply Serial Networking Mode
Ch 0, Not Active, x24, Normal, Dont Include, Off, Off
Ch 1, Active, x24, Normal, Include, On, Off
InitSettings: /home/martin/Documents/OpenBCI_GUI/Settings/CytonUserSettings.json not found or other error.
SoftwareSettings: Removed old/broken settings file.
[DEFAULT]: The new data source is LIVE (from Cyton ) and NCHAN = [8]. User Settings Error: Default Settings Loaded.
[DEFAULT]: Attempting to establish a connection with your OpenBCI Board...
Hub: processConnect: made it -- 9855 code: 200
Hub: setBoardType(): sending cyton -- 9856
Hub: processBoardType: success -- 9856
[SUCCESS]: The GUI is done initializing. Settings Loaded! Press "Start Data Stream" to start streaming! -- Cyton firmware v3.1.2
[DEFAULT]: Data stream started.
Cyton: startDataTransfer(): writing 'b' to the wifi shield...
Hub: sendCommand(char): sending 'b'
OpenBCI_GUI: openNewLogFile: opened ODF output file: /home/martin/Documents/OpenBCI_GUI/Recordings/OpenBCISession_2020-01-08_10-00-16/OpenBCI-RAW-2020-01-08_10-00-26.txt
Hub: processCommand: success -- 11303
Comments
Hey. I have the same problem. after pressing start, nothing happens, just a straight line on all channels
Jake, hi. Have you search the forum or Github for recommended tips? Such as,
https://github.com/OpenBCI/OpenBCI_WIFI/issues/82
Using TWO AA battery packs, one for Cyton, one for shield. The shield power supply is more stabile in this configuration.
Trying different protocol modes. I believe from the trace you are using UDPx3, have you tried TCP?
Etc.
Regards, William
I see some suspicious console log lines here:
I recently coded this feature. This log shows the GUI trying to load an incompatible settings file, which now gets deleted. The only other way to fix such issues is to overwrite the file somehow or we can "Clear All Settings" from the Settings dropdown in the top right of the GUI.
I recommend trying again, now that the old settings are gone, or do "Clear All Settings" before you "Start Session".
cleaning doesn't help me, maybe I have another problem that looks the same. Here is my log
Please try using a different battery configuration and make sure the batteries have full charge. Just helped another developer who was able to connect but not stream, and the battery was low on the Cyton.
I tried both batteries before and it didn't work. i will try again when I get back to my office next week. Thanks!