Brainflow "Python Get Data From Board" example returns an empty array [resolved]
Hello everybody,
Before I mention what the problem is, I want to mention the setup I'm using:
- Jetson AGX Xavier Developer Kit (uses an ARM CPU) running Ubuntu 18.04 LTS
- Ultracortex Mark IV w/ Cyton-Daisy 16-channels
I recently got the Brainflow library installed on my Jetson AGX Xavier Developer Kit by following the same steps that I used to install it on my Jetson Nano Developer Kit (that thread can be found here). After getting it installed, I tried to run the Python code sample titled "Python Get Data From a Board" (found here), however the only thing that's returned is an empty array. I tested my headset on my Windows 10 laptop using the OpenBCI GUI and everything worked perfectly, so I know it isn't an issue with the hardware itself. If anybody has any suggestions as to how to fix this it would be much appreciated.
Best,
JJ
Comments
JJ, did you follow Andrey's instructions for building for ARM?
https://openbci.com/forum/index.php?p=/discussion/comment/13253/#Comment_13253
William
How does the Jetson Xavier differ from Jetson Nano, which worked for you previously? Both are ARM, correct?
Could you run with --log(call enable_dev_board_logger ()) and provide full command line and stdout/stderr ?
After restarting my computer and replugging the USB dongle, the issue seems to be gone and I'm now getting actual data from the Cyton. Still am completely unsure as to why it suddenly works, but I'm certainly not complaining!
@wjcroft I followed the EXACT same instructions to build Brainflow from source that I used for the Jetson Nano and now everything appears to be working as it is supposed to. Good question!