<?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[Data source Scripting]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">I Can create a Data source Scripting to developed scripts of my signals, now, I would like create logical variable to be use in the dashboard. I created data point in the data source the scripting, but I don't know as I can use this data point in my script.</p>
<p dir="auto">Can you help me? Thanks</p>
]]></description><link>https://forum.mango-os.com/topic/3256/data-source-scripting</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 05:52:55 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3256.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Feb 2018 14:36:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Data source Scripting on Mon, 05 Feb 2018 19:32:47 GMT]]></title><description><![CDATA[<p dir="auto">Glad to hear it!</p>
]]></description><link>https://forum.mango-os.com/post/17203</link><guid isPermaLink="true">https://forum.mango-os.com/post/17203</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 05 Feb 2018 19:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Data source Scripting on Mon, 05 Feb 2018 19:15:53 GMT]]></title><description><![CDATA[<p dir="auto">Thank you.</p>
<p dir="auto">My aplication run good.</p>
]]></description><link>https://forum.mango-os.com/post/17199</link><guid isPermaLink="true">https://forum.mango-os.com/post/17199</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Mon, 05 Feb 2018 19:15:53 GMT</pubDate></item><item><title><![CDATA[Reply to Data source Scripting on Mon, 05 Feb 2018 17:00:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi Fabier,</p>
<p dir="auto">If your data point is settable, you can do,</p>
<pre><code>XR.set(false);
</code></pre>
<p dir="auto">Be sure to read the Mango JavaScript help dialogue. You can find in in the related items section on point links, scripting data sources, meta data sources and global scripts, or here: <a href="https://help.infiniteautomation.com/about-mango-java-script/" rel="nofollow ugc">https://help.infiniteautomation.com/about-mango-java-script/</a></p>
<p dir="auto">The most up to date version is here: <a href="https://github.com/infiniteautomation/ma-core-public/blob/main/Core/web/WEB-INF/dox/mangoJavaScript.htm" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/blob/main/Core/web/WEB-INF/dox/mangoJavaScript.htm</a></p>
]]></description><link>https://forum.mango-os.com/post/17196</link><guid isPermaLink="true">https://forum.mango-os.com/post/17196</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 05 Feb 2018 17:00:07 GMT</pubDate></item><item><title><![CDATA[Reply to Data source Scripting on Mon, 05 Feb 2018 16:49:14 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.</p>
<p dir="auto">I tested your solution, but, I don't see changes in the variables. for example. I use this instruction:</p>
<p dir="auto">XR.value=false;</p>
<p dir="auto">In this case my data point have than change to false, but isn´t happen.</p>
]]></description><link>https://forum.mango-os.com/post/17195</link><guid isPermaLink="true">https://forum.mango-os.com/post/17195</guid><dc:creator><![CDATA[Fabier]]></dc:creator><pubDate>Mon, 05 Feb 2018 16:49:14 GMT</pubDate></item><item><title><![CDATA[Reply to Data source Scripting on Mon, 05 Feb 2018 15:40:24 GMT]]></title><description><![CDATA[<p dir="auto">When you create a Data Point in a scripting Data Source you give the Data Point a Variable name.  This is the name you can refer to in your script like name.value.  Just like the other variables for other Data Points like p1.value.</p>
]]></description><link>https://forum.mango-os.com/post/17192</link><guid isPermaLink="true">https://forum.mango-os.com/post/17192</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Mon, 05 Feb 2018 15:40:24 GMT</pubDate></item></channel></rss>