On Tue, 2020-09-29 at 18:16 +0200, Michael Stapelberg wrote:
>
> By the way: in your screenshot, I see that you seem to have loaded
> my 2020-09-27-anlern-02-klingel-PUR-filtered.srzip into pulseview,
> but when I try to do that and add the UART decoder,
> the decoder reports the following error:
>
> srd: Traceback (most recent call last):
> File "/usr/share/libsigrokdecode/decoders/uart/pd.py", line 517, in decode
> raise SamplerateError('Cannot decode without samplerate.')
> uart.pd.SamplerateError: Cannot decode without samplerate.
>
> Is there a trick you used to correct the samplerate?
Well, I cheated and specified the 500k samplerate in the
archive's metadata before opening it in the application.
In fact I assumed that you were well aware of the trick -- the
".srzip" name and content looked like handcrafted to me. :)
Never got the idea that _not_ having a samplerate would be the
normal condition, after your initial capture must have had one,
and all the import formats support a respective option when the
file content lacks the information. :-]
virtually yours
Gerhard Sittig
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel