-
Notifications
You must be signed in to change notification settings - Fork 127
[WIP] Fix LeCroy WaveSurfer 3k #1033
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
base: master
Are you sure you want to change the base?
Conversation
…cause the command seems to be different. See ngscopeclient#1026" This reverts commit 73076de.
Fixes ngscopeclient#1026 and partially fixes ngscopeclient#996
|
What's the status of this PR? We're planning to cut v0.1.1 soon and if you have bug fixes, even if not all-inclusive, for the WS3K I'd like to get them merged then you can send additional fixes in a second PR aimed at v0.2. |
|
Yes, in its current state, WS3k is usable. There are still a few quirks I’d like to investigate: changing the sample rate and memory size sometimes interact in unexpected ways and can occasionally push the scope into roll mode. I’m happy to address these in a follow-up PR. Having more testers would also be very helpful. I haven’t been able to test this against other LeCroy models, but based on the code paths involved, it’s unlikely that anything else was affected. That said, please feel free to point out any areas where the implementation could be improved. One additional note for transparency: I only became aware yesterday of your position regarding AI-generated code (in scopehal-apps code of conduct), which I fully understand and respect. This PR is not fully LLM-generated. However, I did use AI as an autocomplete and spell-checking tool. I can justify and explain every line of this PR, but I prefer to be upfront about this now, as I hope to continue contributing original code to this project in the future. |
|
I just noticed 1.1 was released a few days ago (congrats!). Let me know if you’d like me to continue working on this PR. |
|
Hi, we got busy with other stuff getting ready for v0.1.1. The short answer is, it's tabled for the moment. We'll probably bring the issue up at the next developer meeting and discuss how to handle it. |
|
Given that you were unaware of the AI policy and this wasn't a deliberate violation, you're welcome to continue contributing to the project in general as long as all future submissions are fully human authored. We'll figure out how to handle this fix in a bit. I'm also working on restructuring the readme and CoC files to make the policy a bit more obvious for first-time contributors moving forward. |
Attempt to fix the support WaveSurfer 3k serie of scope.
Initially reported in #996 (and then partially reported in #1026 and #1028).
Most annoying issue is fixed in the current state : averaging is not present per channel but under
app.Acquisition.Horizontal.AverageSweeps. For now I have naively updated this path for the WS3k, but I suppose that this might cause issues if ngscopeclient expect an average setting per channel. Seems to work tho, but eager to implement a nicer fix once all the discrepencies with other LeCroy will be identified.Probe detection seems fixed, it was caused by abscence of probe mux being reported in differently than in other LeCroy scope: no .ActiveProbe property (and a differentt property for probe name).
Sample rate cannot be set dirrectly on these scope, so configuration is set by adjusting the horizontal scale.
Still investingating: