On 27.07.2016 22:23, Mike Meyer wrote: > While working on the DSO112A back end (whichI'd still appreciate > feedback on), I noticed that I couldn't use any of those nifty decoders > on it. I was looking at a signal, and knew it was PWM. So I decided to > apply the PWM decoder to it and see ... well, nothing, because the PWM > decoder won't work on it, because it's analog. > > Looking through the decoders, none of them seem to work on analog > values. Based on the source there's no way to get analog inputs to a > decoder, so this isn't a surprise. Or at least not as surprising as > there being no way to get them to a decoder. > > I can think of at least three useful functions that decoders could > provide. Minimally, take an analog value and transform it into a logic > value. This is liable to be easier than changing devices or inputs or > reconfiguring the input to be logic so you can apply a logic decoder. > Especially if you don't have any kind of logic analyzer.
It would be great to give the power of sigrok to people that have a 'scope but no logic analyzer. I had a quick look at the possibility of converting a differential analog signal to digital, but ended up buying a cheap logic analyzer instead. > Frequency, providing the period and frequency of each cycle in the data. > Probably available from the 'scope, but there doesn't seem to be an easy > way to get it in sigrok. > > Waveform characteristics, providing min, max, avg, peak-to-peak and rms > values for each cycle. Same comment as above. > > So did I miss something, and there are ways to do these things? If not, > anyone have either objections or interest in such being added to the > decoders library? I'd be a happy user, but I couldn't see how to add this as a decoder. Cheers, Phil -- Phil Wise, ATS Advanced Telematic Systems GmbH Kantstrasse 162, 10623 Berlin Managing Directors: Dirk Pöschl, Armin G. Schmidt Register Court: HRB 151501 B, Amtsgericht Charlottenburg ------------------------------------------------------------------------------ _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

