<?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[Measuring timestamp on plan text serial data with CR end of line]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Is there a way of reporting timestamp for each character received or displaying a line terminated by CR and reporting the timestamp of the end of line, rather than hex line of 16?  We tried setting the line length to 1 but the minimum seems to be 4 in hex, and 8 in plain text.</p>
<p dir="auto">We have a feed from a serial source with variable length messages terminated by CR and I need to be able to determine the time received for each line.  (EOL specifically).  Ideally I could then export them to a file so our software could read that and we can use it to replay the feed in our test simulation software.</p>
<p dir="auto">Thanks<br />
Brett</p>
]]></description><link>http://64.23.185.212/forum/topic/50/measuring-timestamp-on-plan-text-serial-data-with-cr-end-of-line</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 20:59:29 GMT</lastBuildDate><atom:link href="http://64.23.185.212/forum/topic/50.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jan 2023 01:30:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Fri, 10 Feb 2023 02:51:56 GMT]]></title><description><![CDATA[<p dir="auto">Excellent stuff!!!  Replay log works like a dream... this will be an invaluable regression test tool.</p>
<p dir="auto">My confusion regarding required components was about getting purchase permissions:  based on Replay web page, I got permission to buy the ioninja.layer; only once it was installed did we discover it wouldn't work until we also bought jancy.io.serial (back for purchase permission).  All well and good now... and I highly recommend this to anyone writing RS232 based code (and need to test it).</p>
]]></description><link>http://64.23.185.212/forum/post/219</link><guid isPermaLink="true">http://64.23.185.212/forum/post/219</guid><dc:creator><![CDATA[Digital Telemetry 0]]></dc:creator><pubDate>Fri, 10 Feb 2023 02:51:56 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Wed, 08 Feb 2023 02:37:18 GMT]]></title><description><![CDATA[<p dir="auto">Actually, everything is correct there.</p>
<p dir="auto"><a href="/plugins/replay-log.html">Replay Log</a> is a layer -- it can't make any assumptions about which transport is used underneath it (RS232? TCP? UDP? SSL?).</p>
<p dir="auto">If you plan to use it with a serial port, then you attach it to a <a href="/plugins/serial.html">Serial</a> session. Hence, you need <code>org.jancy.io.serial</code>.</p>
]]></description><link>http://64.23.185.212/forum/post/218</link><guid isPermaLink="true">http://64.23.185.212/forum/post/218</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Wed, 08 Feb 2023 02:37:18 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Tue, 07 Feb 2023 21:16:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://64.23.185.212/forum/uid/2">@vladimir</a>  Hi again, here is  the page you may want to tweak:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1675804590564-7e335eaf-f82b-4489-b6b6-e1ea63dae211-image.png" alt="7e335eaf-f82b-4489-b6b6-e1ea63dae211-image.png" class=" img-responsive img-markdown" width="873" height="308" /></p>
]]></description><link>http://64.23.185.212/forum/post/216</link><guid isPermaLink="true">http://64.23.185.212/forum/post/216</guid><dc:creator><![CDATA[Digital Telemetry 0]]></dc:creator><pubDate>Tue, 07 Feb 2023 21:16:37 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Mon, 06 Feb 2023 03:58:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<blockquote>
<p dir="auto">The web site says Serial s part of org.jancy.io.file, which should be included and free</p>
</blockquote>
<p dir="auto">Hmm... Which page says that? Might be a mistake on the website if so.</p>
<p dir="auto">The "Serial" plugin doesn't really need <code>org.jancy.io.file</code>; but it does require <code>org.jancy.io.serial</code>, as stated on the plugin's page:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1675655503477-2e74fa5d-f03f-48dc-a800-23c25fe59dbd-image.png" alt="2e74fa5d-f03f-48dc-a800-23c25fe59dbd-image.png" class=" img-responsive img-markdown" width="759" height="974" /></p>
<p dir="auto">All other plugin pages also show both required and optional capabilities right below the page header (as can be seen in the screenshot above).</p>
]]></description><link>http://64.23.185.212/forum/post/213</link><guid isPermaLink="true">http://64.23.185.212/forum/post/213</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Mon, 06 Feb 2023 03:58:23 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Sun, 05 Feb 2023 04:06:02 GMT]]></title><description><![CDATA[<p dir="auto">Replay Log... I might need some help.   The replay button is disabled.<br />
My investigations include the following:</p>
<ol>
<li>I record with Serial Tap (all good)...</li>
<li>I replay with Serial</li>
</ol>
<p dir="auto">Serial is locked in my session... so I can't replay.<br />
The web site says Serial s part of org.jancy.io.file, which should be included and free... but isn't.<br />
I'm feeling a bit dumb at the moment... any obvious hints I've missed?</p>
]]></description><link>http://64.23.185.212/forum/post/211</link><guid isPermaLink="true">http://64.23.185.212/forum/post/211</guid><dc:creator><![CDATA[Digital Telemetry 0]]></dc:creator><pubDate>Sun, 05 Feb 2023 04:06:02 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Sat, 28 Jan 2023 05:31:24 GMT]]></title><description><![CDATA[<p dir="auto">Glad it worked for you!</p>
<p dir="auto">Yes, <code>com.ioninja.layer</code> is the capability that enables "Replay Log" and all other layers.</p>
]]></description><link>http://64.23.185.212/forum/post/207</link><guid isPermaLink="true">http://64.23.185.212/forum/post/207</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Sat, 28 Jan 2023 05:31:24 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Fri, 27 Jan 2023 02:57:23 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Vladimir, looks perfect.<br />
To get the Replay plugin, is this what we need to buy?</p>
<p dir="auto">com.ioninja.layer</p>
<p dir="auto">Layers<br />
Enables attaching layers to sessions and logs<br />
$20	PROMOTION</p>
<p dir="auto">Regards, Mike</p>
]]></description><link>http://64.23.185.212/forum/post/206</link><guid isPermaLink="true">http://64.23.185.212/forum/post/206</guid><dc:creator><![CDATA[Digital Telemetry 0]]></dc:creator><pubDate>Fri, 27 Jan 2023 02:57:23 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Wed, 18 Jan 2023 03:21:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://64.23.185.212/forum/uid/2">@vladimir</a> Hi Vladimir, thanks for this, we'll try it out.  Brett</p>
]]></description><link>http://64.23.185.212/forum/post/198</link><guid isPermaLink="true">http://64.23.185.212/forum/post/198</guid><dc:creator><![CDATA[Digital Telemetry]]></dc:creator><pubDate>Wed, 18 Jan 2023 03:21:10 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Wed, 18 Jan 2023 02:11:40 GMT]]></title><description><![CDATA[<p dir="auto">First of all, let me answer your questions about post-processing log files.</p>
<p dir="auto">If you need to save a captured log as <em>plain text</em>, you can do it via Menu -&gt; File -&gt; Save Log, then choose the <code>*.txt</code> format. FYI, in version 5.2.1, a regression causes Save Log As Text to get stuck at 0%. A fix is already staged for the upcoming release next month; in the meantime, you can work around this issue by using "Save Log Selection" instead.</p>
<p dir="auto">However, saving a log as text is really not necessary (and even counter-productive) for log post-processing. The format of <code>*.njlog</code> files is much more efficient for parsing and processing than a text file. All the related <code>*.njlog</code> declarations are open-source and available at <code>scripts/api/log_RecordCode.jnc, log_RecordFile.jnc</code>. So you can simply "walk" over a <code>*.njlog</code> file with a Python script (or use any other language of your choice) and do all the necessary actions.</p>
<p dir="auto"><strong>But even before starting  to work on all that.</strong></p>
<p dir="auto">Did you try the <a href="https://ioninja.com/plugins/replay-log.html" rel="nofollow ugc">Replay Log</a> plugin?</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1674006997598-f77639ed-015f-4f2b-a384-eb35f547bff1-image.png" alt="f77639ed-015f-4f2b-a384-eb35f547bff1-image.png" class=" img-responsive img-markdown" width="420" height="485" /></p>
<p dir="auto">This plugin allows you to re-send the previously captured TX, RX (or both) records with respect to timestamps. You can even proportionally "stretch" or "shrink" delays between packets!</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1674006971465-15ba5a5e-09d3-4e13-b82d-931bee74407d-image.png" alt="15ba5a5e-09d3-4e13-b82d-931bee74407d-image.png" class=" img-responsive img-markdown" width="781" height="615" /></p>
<p dir="auto">To replay only a portion of log, first save it into a dedicated <code>.njlog</code> file via "Save Log Selection", then replay it with the "Replay Log" plugin.</p>
<p dir="auto">I suggest you try this plugin first -- it might just do what you need.</p>
]]></description><link>http://64.23.185.212/forum/post/197</link><guid isPermaLink="true">http://64.23.185.212/forum/post/197</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Wed, 18 Jan 2023 02:11:40 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Tue, 17 Jan 2023 03:08:35 GMT]]></title><description><![CDATA[<p dir="auto">From the flat file, we would be able to build the simulation data source.</p>
]]></description><link>http://64.23.185.212/forum/post/196</link><guid isPermaLink="true">http://64.23.185.212/forum/post/196</guid><dc:creator><![CDATA[Digital Telemetry]]></dc:creator><pubDate>Tue, 17 Jan 2023 03:08:35 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Tue, 17 Jan 2023 01:28:36 GMT]]></title><description><![CDATA[<p dir="auto">We wish to be able to capture a trace of characters from a customer device which will be connected to our controller, and then using our test harness, play them back into our controller to be able to regression test software changes and simulate real life situations.  Some of the customer equipment is very large, some expensive and some simply one off builds - most are remote and cant be taken offline - which makes it hard to regression test software changes at our end without simulation capability.  Play back doesnt need to e perfect timing wise so data block granularity is fine.  It would be nice to output the capture to a flat file with ascii or hex and appropriate timestamps where blocks start and/or end.</p>
]]></description><link>http://64.23.185.212/forum/post/195</link><guid isPermaLink="true">http://64.23.185.212/forum/post/195</guid><dc:creator><![CDATA[Digital Telemetry]]></dc:creator><pubDate>Tue, 17 Jan 2023 01:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to Measuring timestamp on plan text serial data with CR end of line on Thu, 05 Jan 2023 08:15:18 GMT]]></title><description><![CDATA[<p dir="auto">There are no individual byte timestamps in most IO Ninja plugins. Changing the line size won't help here (even if it were possible to set it to one) -- timestamps are assigned to the data blocks upon receiving them from the operating system; not based on the line size.</p>
<p dir="auto">However, getting a sequence of bytes received <em>as a block</em> means that they arrived in quick succession, i.e. "fast enough". Therefore, timestamps give a relatively accurate (to the order of milliseconds) time of receiving bytes in this block. Normally, if a protocol depends on <em>timing</em>, then the delays involved are much higher than that. Otherwise, protocols are designed in a way that allows finding the beginnings and endings of packets without relying on timestamps.</p>
<p dir="auto">Could you explain why exactly you need individual byte timestamps? Maybe, there's an alternative way of achieving what you need.</p>
]]></description><link>http://64.23.185.212/forum/post/193</link><guid isPermaLink="true">http://64.23.185.212/forum/post/193</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Thu, 05 Jan 2023 08:15:18 GMT</pubDate></item></channel></rss>