Python SDK stream crashing after sample 4310
I have set up the Python SDK to configure its own channel settings and then automatically stream and store data.
However, after sample 4310, the data stops streaming.
I've narrowed the problem to:
def _read_serial_binary(self, max_bytes_to_skip=3000):
def read(n):
#print('PREREAD')
#print(n)
b = self.ser.read(n) #THIS IS WHERE CODE GETS STUCK*************************
for some reason, ser.read simply does not read after sample 4300-4350
Is there some hard stop in the board's firmware to prevent the stream from continuing after a certain number of samples or after streaming a certain amount of data?
No error is thrown. The code just gets stuck at the ser.read(n) call. In this case, n=0. This is within the open_bci_v3 file.
Any help would be very appreciated, its a very strange way for the code to freeze up.
However, after sample 4310, the data stops streaming.
I've narrowed the problem to:
def _read_serial_binary(self, max_bytes_to_skip=3000):
def read(n):
#print('PREREAD')
#print(n)
b = self.ser.read(n) #THIS IS WHERE CODE GETS STUCK*************************
for some reason, ser.read simply does not read after sample 4300-4350
Is there some hard stop in the board's firmware to prevent the stream from continuing after a certain number of samples or after streaming a certain amount of data?
No error is thrown. The code just gets stuck at the ser.read(n) call. In this case, n=0. This is within the open_bci_v3 file.
Any help would be very appreciated, its a very strange way for the code to freeze up.

Comments
The hangup issue was resolved. Not sure what exactly was causing it to hang up, but it was in my modified user file and not the open_bci_v3 file.