Hi list, I tried recently to debug a Modbus serial line / RTU problem using pulseview to decode the Modbus messages for me. However, I hoped to be able to use an USB-to-serial (RS-485) converter instead of a logic analyzer (due to hardware not beeing available). Using tools like minicom or reading from /dev/ttyUSB0 and writing to a file, the content of the Modbus communication can be seen, stored and even imported into pulseview. Decoding the messages there is not possible, since the modbus decoder only works chained after the UART-decoder (at least, I've not been able to configure it otherwise) and the content is already UART-decoded (by the hardware/driver), so the UART-decoder fails to decode the packages correctly. Of course, I could've written a script that converts the binary modbus bytes in the file to a format that, when imported to pulseview, is readable and decodable by the UART-decoder but that seems a bit counter-productive.
About handling already pre-decoded data, the only thing I could find was this wiki page https://sigrok.org/w/index.php?title=Feeding_hardware-decoded_packets_into_libsigrok where a ""poor man's capture device" to decode RS232". Are there any plans to implement direclty reading from serial devices to capture the "hardware-decoded" bytes to sigrok/pulseview so the serial data can be further decoded by decoders that expect UART-decoded data? Or is it already possible and I've just missed some steps/configuration options? Thanks, Jannis ___________________________________________________________________________________________ Jannis Achstetter | Schneider Electric | Industry Business | Technical Engineer Mobility | Phone: +49 9391 606 2897 | Email: [email protected] | Site: www.schneider-electric.com | Address: Schneider Electric Automation GmbH, Schneiderplatz 1, 97828 Marktheidenfeld - Germany | Additional Info: Sitz der Gesellschaft: Marktheidenfeld | Handelsregister: Amtsgericht Würzburg (HRB 10733), USt-IdNr. DE 261529553 | Geschäftsführer: Thomas Martis, Ottmar Himmelsbach **** Please consider the environment before printing this e-mail **** ------------------------------------------------------------------------------ _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

