Closed pudumula closed 5 years ago
Hmm, there seem to be some known issues in the Saleae software where it can NAK unexpectedly if the Saleae software isn't ready (see #7 for more discussion).
You can try adding a sleep before calling is_analyzer_complete
. Also, in this case specifically, I don't think you should need to the explicit call as the library will call wait internally anyway.
Since it's just the wait that's throwing, you can also try catching the NAK error and reissuing the is_complete check.
I don't think this is an issue in the python library, but feel free to re-open if you find a bug in the library somewhere.
While running the following script
i get the following error
CommandNAKedError Traceback (most recent call last)