<?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[Handling Bit Fields]]></title><description><![CDATA[<p dir="auto">I am reading hundreds of data points that consist of 16 bit values. Each 16 bit value consist of 4 nibbles. If the nibble value = 15 it means item not implemented. If it is 1 it means that the value is set, if it is 0 it means the data is not set. For example a 16bit data point will have 4 values be Error|Start|Overheat|Manual. so if Start is not implemented, it will send for example 0000 1111 0001 0001 through or 0F11 hex.How can I put this into 4 Binary data points? We are using SNMP data source, but I have a similar problem with HTTP Receiver.</p>
]]></description><link>https://forum.mango-os.com/topic/2017/handling-bit-fields</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 10:38:50 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2017.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Nov 2015 17:59:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Handling Bit Fields on Tue, 10 Nov 2015 20:21:41 GMT]]></title><description><![CDATA[<p dir="auto">It's ok to use the same variable name in multiple meta data points as variable names are isolated to each script and not shared between them.</p>
]]></description><link>https://forum.mango-os.com/post/10542</link><guid isPermaLink="true">https://forum.mango-os.com/post/10542</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Tue, 10 Nov 2015 20:21:41 GMT</pubDate></item><item><title><![CDATA[Reply to Handling Bit Fields on Tue, 10 Nov 2015 20:05:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi Thanks Joel. Yes the scripting works very easily. I could just not figure out if it is important to make the variable name different for each meta data point. Currently all the meta data points variable name is the same, as I am not using it in the script.</p>
]]></description><link>https://forum.mango-os.com/post/10541</link><guid isPermaLink="true">https://forum.mango-os.com/post/10541</guid><dc:creator><![CDATA[glamprecht]]></dc:creator><pubDate>Tue, 10 Nov 2015 20:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to Handling Bit Fields on Tue, 10 Nov 2015 18:08:43 GMT]]></title><description><![CDATA[<p dir="auto">I can't tell you the script to use off hand but you should be able to do this using a Meta Data Point with a script to return the value you want.  More info: <a href="http://infiniteautomation.com/wiki/doku.php?id=automation:meta_data_points" rel="nofollow ugc">http://infiniteautomation.com/wiki/doku.php?id=automation:meta_data_points</a></p>
]]></description><link>https://forum.mango-os.com/post/10540</link><guid isPermaLink="true">https://forum.mango-os.com/post/10540</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Tue, 10 Nov 2015 18:08:43 GMT</pubDate></item></channel></rss>