<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Custom serial protocol parsing and Automation]]></title><description><![CDATA[<p dir="auto">Hi, We are looking for SW/HW which can help us with product development.<br />
Here some start points:</p>
<ul>
<li>we have custom serial protocol up to 3.3mbps</li>
<li>we have to parse data  per protocol definition</li>
<li>we have to measure time  events</li>
<li>we have to perform automated tests</li>
</ul>
<p dir="auto">Does  IO Ninja+ Serial Tap device is able to:</p>
<ul>
<li>capture serial communication with up to 3.3mbps</li>
<li>add custom protocol parsing logic</li>
<li>perform time event measurement</li>
<li>be controlled  by Python  with ability to get parsed data, set time markers ad get time for each events</li>
</ul>
<p dir="auto">Regards,<br />
Ivan</p>
]]></description><link>http://64.23.185.212/forum/topic/330/custom-serial-protocol-parsing-and-automation</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 20:18:43 GMT</lastBuildDate><atom:link href="http://64.23.185.212/forum/topic/330.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Feb 2025 09:05:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom serial protocol parsing and Automation on Sat, 22 Feb 2025 15:13:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello Ivan,</p>
<blockquote>
<p dir="auto">capture serial communication with up to 3.3mbps</p>
</blockquote>
<p dir="auto">3.3 Mbps is beyond the maximum baud rate supported by Serial Tap. Baud rates &lt;= 1 Mbps are guaranteed to be reliably captured; ~2 Mbps could work in theory, but errors are possible, and I think 3 Mbps would be outright rejected by the UART controller we use in Serial Tap.</p>
<blockquote>
<p dir="auto">add custom protocol parsing logic</p>
</blockquote>
<p dir="auto">This is possible; IO Ninja supports so called "layer" plugins that can transform original logs and add decoded protocol messages. See the <a href="https://ioninja.com/plugins/modbus.html" rel="nofollow ugc">Modbus Analyzer</a> for an example of such layer plugin (it's open-source and located at <code>/scripts/plugins/Modbus/</code>)</p>
<blockquote>
<p dir="auto">perform time event measurement</p>
</blockquote>
<p dir="auto">Events are timestamped on the PC side -- the Serial Tap reports raw bytes and status line changes, IO Ninja adds timestamps and writes them to log.</p>
<blockquote>
<p dir="auto">be controlled by Python with ability to get parsed data, set time markers ad get time for each events</p>
</blockquote>
<p dir="auto">If you need to implement custom processing in Python, you can use <code>ioninja-hwc</code> (<a href="https://ioninja.com/features/hardware-client.html#cli" rel="nofollow ugc">https://ioninja.com/features/hardware-client.html#cli</a>) -- capture Serial Tap events from the command line and redirect those to a file or stdout; then implement whichever custom logic you need in Python.</p>
]]></description><link>http://64.23.185.212/forum/post/755</link><guid isPermaLink="true">http://64.23.185.212/forum/post/755</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Sat, 22 Feb 2025 15:13:23 GMT</pubDate></item></channel></rss>