Hi, I submitted a pull request for the Modbus decoder many months ago last December.
It's been completely ignored. I'm guessing it's because I haven't posted here? So here I am, along with a sample file. Load "WizModbus.sr", add a UART decoder, then stack the Modbus decoder. Set the UART baud rate to 9600. RX/TX are between the micro and transceiver chip. BA+ is the bus. With the default Modbus decoder I'm unable to display both sides of the Modbus communication correctly. With my patched decoder I can. I'm also able to set both of the UART RX and TX to BA+, simulating just putting the logic analyzer on the bus. The default decoder fails completely, while with my patch I can shorten the inter-frame gap to the point where it works. The device in the sample appears to have too short (or no) inter-frame gaps - that's a problem in itself, but I needed to analyze the comms regardless. -- Andrew
WizModbus.sr
Description: Binary data
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel