-
Notifications
You must be signed in to change notification settings - Fork 100
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
Channel enable failed only after renaming a channel #41
Comments
So as kind of a workaround I think it works to just leave the "D" at the start of the signal name. |
First off, thanks for all your effort on pico support in sigrok! I think the naming problem comes from this line? At least, the Looks like you're using the first character of the name to indicate analog or digital. Surely there's another way to look that up, such as from I'd really like to be able to set arbitrary names so I don't have to manually rename in pulseview before I can get a protocol decoder, such as GPIB, to load. A nice-to-have would be the ability to specify an arbitrary ordering for channels. I assume such an order would carry over from For example, I'd be able to do |
So, fixing the channel renaming will require a change to the libsigrok code, simple, but it will need to through the main libsigrok curation. Will post a link when I have it. |
I see, I'd assumed the re-ordering could stay on the driver side and the pico need not know anything about it. |
sorry for the delay, sigrokproject/libsigrok#256 has the change to allow renaming to work better. |
I compiled sigrok and pulseview based on your fork. Everything is working great, except that I've noticed that I get crashes after renaming channels. For example, I open pulseview with this command:
When the software opens, I can press "Run" and record data.
If I then change the name of the first channel to "MOSI" and press "Run" again, I get a dialog box showing an error message. When I click ok, the program crashes.
Here are the relevant logs with
--loglevel 5
:Please let me know if I should report this upstream instead
The text was updated successfully, but these errors were encountered: