-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_analyzers raises IndexError #64
Comments
Can you capture a trace with more verbose logging? i.e. at the start import logging
logging.basicConfig(level=logging.DEBUG) should show what's going on in the underlying communication protocol |
|
That looks like a bug on Logic's end, I don't think that is a valid response to that command, @Marcus10110 any insight? |
I had the same problem and found a workaround slightly modifying the capture_start to block the code. So, capture_start:
Becomes: My guess is that once the capture is finished in 'unblocking' mode, it sends an extra ACK and it breaks the flow of the rest of the code. I could also verify this sending sending a capture_stop() before the capture is finished (in unblocking mode), since the capture is stopped, no ACK is sent by the unblocking capture_start and the code works. Edit: I just read the other issues and I believe the cause of this issue is explained in #18 |
I have everything running under Debian 10. Logic Pro 16 is connected and I have Logic 1.2.18. When I run the sample code below:
I get:
The content of the line in saleae.py should have been:
I2C, 1
instead I get:
TRUE
and then the library raises an index error.
The text was updated successfully, but these errors were encountered: