Hello Soeren, I've made PKGBUILD's of your versions of libsigrok, libsigrokdecode and pulseview, and used them to build them. They are attached.
How can I access the logic output of protocol decoders? What decoders are capable of outputting single bit outputs? Cheers, cedric ________________________________________ Van: Soeren Apel <soe...@apelpie.net> Verzonden: donderdag 11 juni 2020 12:19 Aan: Wijs, C.R.L. de (FB-INSTRZ); sigrok-devel@lists.sourceforge.net Onderwerp: [MOGELIJK SPAM ! ******] Re: [sigrok-devel] Pulseview feature request: plot numeric values from protocol decoders Hello Cedric, This is on our road map but at the moment, no one is working on it. Essentially, what you're asking for is "PD analog output". Our intention was to work on PD logic output first and then analog output afterwards. From my point of view, there's nothing really preventing you from working on analog output already. Uwe and I worked on logic output, here's the last working state: https://github.com/abraxa/libsigrokdecode/commits/master https://github.com/abraxa/pulseview/commits/srd_output_logic Those two already work together but it's more of a proof-of-concept than something I'd want to see merged because the sample data is handled in a very inefficient manner. That's independent of the supporting architecture, however. >From my point of view, the more important part is the handling in libsigrokdecode because I can assist you with the PV side if you have issues there. I do however not know how Uwe envisions the analog output to look like API-wise on libsrd because there are certain considerations to be made. Maybe he'll chime in but for me, even being able to send *anything* over to PV would already be a big step forward. Adding the remaining features like measurement units would be straightforward at that point. There is however one constraint you should know about: the sample rates of libsrd input and output data *must* be the same. I would highly suggest you join us on #sigrok on freenode if you want to work on this so we can align better and answer any questions you may have. -Soeren On Thu, 2020-06-11 at 09:09 +0000, c.r.l.de_w...@lumc.nl wrote: > Hi all, > > I am building a motor controller. It works by measuring the speed > from an encoder signal, running a PID loop, and generating a PWM > signal to drive the motor. > > I would like to fine-tune the PID loop. Therefore I'm looking for a > way to generate graphs on my screen that show me the speed and the > WPM duty cycle. > > I'm looking at Pulseview. I can use the Stepper motor protocol > decoder to convert the encoder pulses to speed numbers. I can also > use the PWM protocol decoder to convert PWM pulses to Duty Cycle > numbers. > > Now I'm looking to plot these two numbers as lines. > > I've made a mock-up (see the attachment). The top signals are the > digital signals from the PWM output (D0) and the encoder input (D1). > In the middle there are 2 protocol decoders, Stepper motor and PWM. > At the bottom are 2 lines that plot the numbers collected by the > protocol decoders in the middle. > > Is something like this possible? > Where do I begin if I want to make this happen? > > Cheers, > Cedric > _______________________________________________ > sigrok-devel mailing list > sigrok-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sigrok-devel
PKGBUILD.libsigrokdecode
Description: PKGBUILD.libsigrokdecode
PKGBUILD.pulseview
Description: PKGBUILD.pulseview
PKGBUILD.libsigrok
Description: PKGBUILD.libsigrok
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel