<?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[Serial Data Source Question (again)]]></title><description><![CDATA[<p dir="auto">Greetings, all:</p>
<p dir="auto">I've posted here before related to the Serial Data Source, and I'd love to understand what I'm doing wrong / how to make this work.</p>
<p dir="auto">First, questions:<br />
(1) Can the Mango Serial Data Source just act as a passive input? Just storing everything that comes in over the serial port into a point?</p>
<p dir="auto">(2) If not, how do I force it to "trigger" a read?</p>
<p dir="auto">Here's my Application:<br />
I have a device that spits out hex code as 2400 baud every few seconds. I want to ingest this into mango, and parse it.</p>
<p dir="auto">I have this (kinda) working using SOCAT and the raw TCP data source, but that seems like an awful lot of messing about.</p>
<p dir="auto">The values are hex, fixed length, and have known terminating characters at the start (and end) of the message.</p>
<p dir="auto">I've been re-reading back through lots of stuff on this forum before about this, and haven't gotten closer to having it work.</p>
<p dir="auto">More details:<br />
This is a raw serial device attached via a USB to Serial adapter. I have verified my Mango machine is getting the Right Data via using Minicom, and got this almost entirely working with SOCAT and a Raw TCP data source.</p>
<p dir="auto">I'm just trying to keep this whole thing inside Mango. I keep trying to use the Virtual Serial Port for various things, but so far, I hvaen't been able to get it to work at all- I've tried this on V3.7, and now am running our system here on 4.5, still with no luck.</p>
<p dir="auto">Are there any demo files / docs available for how to "just get raw data into Mango over a Serial port" so I can then parse it using a scripted data source?</p>
<p dir="auto">I'd love some guidance on this. The TCP/IP data source seems to allow this functionality, albeit with a bit of goofing around (see my post about interfacing with my HP-IB gear for this thread), but I'd love to be able to know how to use the Raw Serial Data Source, as we have many uses for that now.</p>
<p dir="auto">Cheers,<br />
-Greg</p>
]]></description><link>https://forum.mango-os.com/topic/5660/serial-data-source-question-again</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 14:17:25 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5660.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 30 Apr 2023 11:48:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Serial Data Source Question (again) on Wed, 03 May 2023 10:25:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: MattFox">@<bdi>MattFox</bdi></a> Yeah- I tried that, too: I just can't get the the thing to receive anything over the serial port.</p>
<p dir="auto">It would be really nice to have a thread / template file available somewhere that says "Here's how you just get Raw Serial into Mango" to overcome the initial confusion over REGEX, which is absolutely common in these threads.</p>
<p dir="auto">People do what I did: They turn it on, try and get a "wildcard" RegEx to make sure mango is receiving <em>something</em> then go develop the interface from there.</p>
<p dir="auto">I have lots of serial customization coming in for our projects, and although the SOCAT &lt;-&gt; Serial TCP thing works okay, it would all be much simpler if I knew that the Mango Serial Device had a good easy starting point.</p>
]]></description><link>https://forum.mango-os.com/post/27824</link><guid isPermaLink="true">https://forum.mango-os.com/post/27824</guid><dc:creator><![CDATA[Turbo]]></dc:creator><pubDate>Wed, 03 May 2023 10:25:47 GMT</pubDate></item><item><title><![CDATA[Reply to Serial Data Source Question (again) on Sun, 30 Apr 2023 19:55:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/turbo" aria-label="Profile: Turbo">@<bdi>Turbo</bdi></a> if memory serves me right, you can make the serial port work based on timeout as opposed to regex...<br />
Although if you do know if you have a delimiter and can lean on that, you can make the regex be simply (.*) to nom everything along with setting collection group to 0.</p>
<p dir="auto">I'll see if I can accomplish what you are trying to achieve also</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/27822</link><guid isPermaLink="true">https://forum.mango-os.com/post/27822</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Sun, 30 Apr 2023 19:55:30 GMT</pubDate></item></channel></rss>