James wrote: ↑Sat Feb 05, 2022 5:10 pm
Run the python from the command line, don't just double click the file in windows.
Yes, that's what I've been doing, have also tried it from MS Visual Studio Code. As said, the Python program is running, but the Matplotlib window is not shown, or if it is, then just for half a second before closing. Will now search for another program using Matplotlib to see if that's the culprit.
Edit: Found a random Python program using Matplotlib, it is working ok.
The network issue I don't know how to troubleshoot, how can I know if my phone (iPhone with iOs 15.3) really is transmitting? In the settings for Privacy /Local network, Mind Monitor is allowed. Is Wireshark (or similar tool) the only option to check this?
On my laptop I use IPCONFIG to find this: "IPv4 Address. . .. . . . : 192.168.178.159", this is the target address I put in Mind Monitor, guess that's correct?
As my phone and laptop obviously are in the same local network, I shouldn't need to change anything on my Internet modem/router, correct? Only open UDP 5000 in the laptop's firewall settings, like I've done.
Edit: Took a plunge and installed Wireshark, data is indeed flowing from my phone towards my computer, can see Muse related data in the Wireshark feed. Don't know how to check if data really is received by my computer, it is anyhow not received by the Python programs.
I'm confident the root cause for my problems is not on Mind Monitor's side, but glad for any help I can get. Would love to be able to use Python for receiving EEG signals from Muse.
Added one piece of data received on my computer as captured by Wireshark:
27776 74.338973 192.168.178.98 192.168.178.159 UDP 122 65412 → 5000 Len=80
0000 bc 83 85 23 50 78 a6 f6 cc 52 d6 0a 08 00 45 00 ...#Px...R....E.
0010 00 6c ba 63 00 00 40 11 d9 ca c0 a8 b2 62 c0 a8 .l.c..@......b..
0020 b2 9f ff 84 13 88 00 58 1c 98 23 62 75 6e 64 6c .......X..#bundl
0030 65 00 e5 aa 17 eb 0c 84 90 00 00 00 00 3c 2f 54 e............</T
0040 59 2f 6d 75 73 65 2f 65 6c 65 6d 65 6e 74 73 2f Y/muse/elements/
0050 64 65 6c 74 61 5f 61 62 73 6f 6c 75 74 65 00 00 delta_absolute..
0060 00 00 2c 66 66 66 66 00 00 00 bf 24 5a b0 be 40 ..,ffff....$Z..@
0070 f4 68 3f 48 3f 0c bf 0f ad e9 .h?H?.....