Re: [sigrok-devel] Protocol Decoder Info

2020-11-15 Thread Helge Kruse
I am also unexperinced with Python and had to learn how to implement a decoder. Here are some hints that help me. Instead of using print I use the Python log system. Here are the code lines of my decoder that are related to logging. class Decoder(srd.Decoder):     options = (     { 'id': 'log

Re: [sigrok-devel] Protocol Decoder Info

2020-11-14 Thread Test Jarfalla
Hello, Many thanks for the replies, some - I realize - I should have figured by myself, but some were good for clarification. I should point out that I'm totally new to Python so there is a lot of guessing going on when working on the decoder. What seems a bit odd to me is that there appears to

Re: [sigrok-devel] Protocol Decoder Info

2020-11-13 Thread Soeren Apel
Hello, > I'm doing a first attempt at writing a decoder to capture reads from an > EPROM and need to decode address and data. This will be quite a few pins. > Is it possible to suggest default locations/names for each pin? When I run > the hantek 4032 logic analyzer, the pins are labelled A0 - A15

[sigrok-devel] Protocol Decoder Info

2020-11-07 Thread Test Jarfalla
Hello, Hoping this is the right place to ask questions also about protocol decoders. If not please suggest alternatives. I'm doing a first attempt at writing a decoder to capture reads from an EPROM and need to decode address and data. This will be quite a few pins. Is it possible to suggest defa