<?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[Datapoint Assignment]]></title><description><![CDATA[<p dir="auto">Iam a beginner,  I have a PLC with several  datapoints. I need to bind a datapoint to a angularJS variable. I have tried to use the export id but im not doing something right. ultimately I want to perform some operations on the datapoints before charting them and thats the reason for getting the datapoints into a variable  i can work with.</p>
]]></description><link>https://forum.mango-os.com/topic/4689/datapoint-assignment</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 22:52:26 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4689.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Feb 2020 02:19:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datapoint Assignment on Thu, 06 Feb 2020 23:21:14 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I will get on it.</p>
]]></description><link>https://forum.mango-os.com/post/24596</link><guid isPermaLink="true">https://forum.mango-os.com/post/24596</guid><dc:creator><![CDATA[dgm]]></dc:creator><pubDate>Thu, 06 Feb 2020 23:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to Datapoint Assignment on Thu, 06 Feb 2020 20:59:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dgm" aria-label="Profile: dgm">@<bdi>dgm</bdi></a> There are two ways, enable the api menu item and read up on using the ma-fn component and modify values in real time, or use a meta data source and set the point you want to modify as a context point. Then apply the calculation and return the value.<br />
You can then also run the metapoint history so you have all values. Load this new meta point into your chart.</p>
<p dir="auto">I recently discussed this with another user. I think I'll rewrite a component I had made to do this into a more generic format and will release it on this forum for all to use.</p>
<p dir="auto">Fox</p>
]]></description><link>https://forum.mango-os.com/post/24595</link><guid isPermaLink="true">https://forum.mango-os.com/post/24595</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Thu, 06 Feb 2020 20:59:25 GMT</pubDate></item><item><title><![CDATA[Reply to Datapoint Assignment on Thu, 06 Feb 2020 20:34:46 GMT]]></title><description><![CDATA[<p dir="auto">I'm afraid there isnt much script to show as I am just beginning to write it and find I am stopped right away with not knowing how to convert the plc raw datapoint into a useable javascript variable. The main thing is  I want to get a raw value from the PLC  and then scale it and then chart it. The user will be able to input the max scale of the  chart pen and chose the conversion factor among other operations. I figure the answer is right  there, im just not seeing it.</p>
]]></description><link>https://forum.mango-os.com/post/24594</link><guid isPermaLink="true">https://forum.mango-os.com/post/24594</guid><dc:creator><![CDATA[dgm]]></dc:creator><pubDate>Thu, 06 Feb 2020 20:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to Datapoint Assignment on Thu, 06 Feb 2020 13:52:57 GMT]]></title><description><![CDATA[<p dir="auto">Can you explain a little bit more about what do you want to accomplish? Can you share the script?</p>
]]></description><link>https://forum.mango-os.com/post/24588</link><guid isPermaLink="true">https://forum.mango-os.com/post/24588</guid><dc:creator><![CDATA[guetteluis]]></dc:creator><pubDate>Thu, 06 Feb 2020 13:52:57 GMT</pubDate></item></channel></rss>