Hello Soeren, thanks for the answer. I tried to show the functions but omitted the function body. Of course there is code, that should be substituted in my mail.
But I found it as a simple user error. I started the sigrok-cli with the "-P seanet" parameter to add my decoder. I forget to stack the decoders. With the command ~/sr/bin/sigrok-cli -i sample.sr -P uart,seanet everything with the decode() funtion is fine. Sorry for the noice. Best regards, Helge Am 13.04.2020 um 11:22 schrieb Soeren Apel: > Hello Helge, > > Is that the exact code you're running: > > If so, wouldn't it need to be > > def __init__(self): > pass > > def decode(self, ss, es, data): > > instead? Maybe that's what's confusing the python parser. > > Regards > -Soeren > _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel