Skip to content
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

Sump device detection failed on second connection (in serial mode) #209

Open
tudorp opened this issue Jun 7, 2014 · 2 comments
Open

Sump device detection failed on second connection (in serial mode) #209

tudorp opened this issue Jun 7, 2014 · 2 comments

Comments

@tudorp
Copy link
Contributor

tudorp commented Jun 7, 2014

On last snapshot in next branch in serial port mode for Sump device implementation, requesting more than one time in a row "Show device metadata" from "OLS Capture settings" fails with
"Detection failed!"
"No such port!"

Context: Windows, usb-to-serial adapter

Running acquisition also fails after requesting device metadata.
Running acquisition without requesting device metadata succeeds, repeatedly.

Seems that the problem is in SumpDetectionTask, but I couldn't find the root cause: the streams seem to be properly closed, maybe is something about releasing the comm port...?

@jawi
Copy link
Owner

jawi commented Jun 7, 2014

Does this also happen with an older version, say version 0.9.7 or 0.9.6? What kind of device and usb-to-serial adapter are we talking about?

@tudorp
Copy link
Contributor Author

tudorp commented Jun 7, 2014

Around commit 72ee061, after I applied some fixes regarding blocking reads I did not encounter the problem, but this was in August last year. I just tested it again (the patched, compiled version that I kept) and still works fine. Now it is difficult to say for sure what patches I embedded in that version, but I'm pretty sure I didn't run in the same thing.

Win8.1 x64: the usb-serial-adapter is based on PL2303TA chip and with recent drivers provided by windows update (works pretty well from my point of view).

The device is similar to Arduino Generic Logic Analyzer, but developed for Microchip PIC16 platforms with support for RLE, but nothing special for triggers. The device triggers on first detected change in input. I didn't get the time to publish the project code yet but I hope to do this soon also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants