Closed leungmanhin closed 1 year ago
I could not replicate the behavior on MacOS. Using the supplied test case, I finally stopped the test after 30k command. I don't have an Ubuntu installation to test on. Given the debugging output, my guess is the write never returns which could indicate an OS bug, a serial driver bug, or a PySerial bug.
Software Versions:
General Type of Problem
Describe the Problem When using the Python API with a fit-statUSB, it consistently stops working after executing 144 on/off commands, and can be reproduced by using the below script. I'll need to unplug & plug it back in order to get it to work again. And this doesn't happen if I use the command-line API.
Expected Behavior It should continue to work regardless.
Error Output It consistently stops after 144 commands, an example output by using the script above (showing only the last few lines of it):
and it just get stuck here.