<?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[How to write server-side scripts]]></title><description><![CDATA[<p dir="auto">Hi team,</p>
<p dir="auto">I am very new to Mango but excited by seen it's capabilities. I am very interested in learning that how to write <strong>server side</strong> scripts.<br />
Any help on this is much appreciated. please let me know how to begin (I don't have a clue). but I have done some VB programing therefore I think with your help I can study this.</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.mango-os.com/topic/915/how-to-write-server-side-scripts</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 03:14:16 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/915.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Nov 2011 09:44:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to write server-side scripts on Fri, 11 Nov 2011 16:14:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Scripts in MetaPoints:</p>
<ol>
<li>Context's points - you can add some points to your MetaPoint for access from script.</li>
<li>Final value - result, have to save with commnad return value.</li>
<li>You cannot save value to other points from script</li>
<li>You cannot get others values from points, only last value. You cannot take previous value from Metapoint in your script without simple hack.</li>
</ol>
<p dir="auto">Hack for previous value from MetaPoint</p>
<ol>
<li>create your metapoint with some simply script</li>
<li>save your metapoint and activate it and activate datasource - green light</li>
<li>go to another screen on Mango - views, lists and return back to MetaDataSource and metapoint. Now you can add this metapoint as source point for your script.</li>
<li>disable alarm level - Context point disabled = NONE</li>
</ol>
<p dir="auto">I am working in ScadaBR, clone of Mango. Yesterday I modified MetaDataPoints and I added new functions for scripts - last(limit) ... gets last point values and list(from, to) ... gets list of values between ....<br />
It works good.</p>
<p dir="auto">Attachment: <a href="http://archive.infiniteautomation.com/forum/posts/downloadAttach/125.page" rel="nofollow ugc">download link</a></p>
]]></description><link>https://forum.mango-os.com/post/6023</link><guid isPermaLink="true">https://forum.mango-os.com/post/6023</guid><dc:creator><![CDATA[oja]]></dc:creator><pubDate>Fri, 11 Nov 2011 16:14:13 GMT</pubDate></item><item><title><![CDATA[Reply to How to write server-side scripts on Fri, 11 Nov 2011 08:05:34 GMT]]></title><description><![CDATA[<p dir="auto">thank you,</p>
<p dir="auto">Initially I am looking into write some coding to get values and put some values to a selected data point (modbus) in the graphics window. then I would like to know other available things which I can use in future when it's required.</p>
<p dir="auto">thank you in advance.</p>
<p dir="auto">Dissa</p>
]]></description><link>https://forum.mango-os.com/post/6022</link><guid isPermaLink="true">https://forum.mango-os.com/post/6022</guid><dc:creator><![CDATA[pradeepdissa]]></dc:creator><pubDate>Fri, 11 Nov 2011 08:05:34 GMT</pubDate></item><item><title><![CDATA[Reply to How to write server-side scripts on Wed, 09 Nov 2011 17:18:45 GMT]]></title><description><![CDATA[<p dir="auto">What do you need?</p>
<p dir="auto">In MetaPoint window is icons with (?) and there is some basic info about writing script. I wrote some scripts in Mango, I can help you.</p>
<p dir="auto">Oja</p>
]]></description><link>https://forum.mango-os.com/post/6018</link><guid isPermaLink="true">https://forum.mango-os.com/post/6018</guid><dc:creator><![CDATA[oja]]></dc:creator><pubDate>Wed, 09 Nov 2011 17:18:45 GMT</pubDate></item></channel></rss>