No, that's not going to work. Here's what to do, assuming that you want to set the coil to "true" for 5 seconds.
Create a point event detector on the point that fires when the point has been "true" for 5 seconds.
Create an event handler for the event in 1) that sets the point to false when it activates, and does nothing when it deactivates.
Someone asked recently how they could control the values of multiple points from a single click. Kind of like a "broadcast" of a set point. Today I got around to testing the idea that came to mind, but didn't want to suggest without being sure of it. Turns out it works nicely...
Point linking is the key. In my test i created a new virtual data source with three binary points. The first is the "master" point, and the other two are "slave" points. All three are settable (with the "no change" setting so that they don't change on their own). I then enabled everything: points and data source.
Next, i simply created two point links using the master as the source and the slaves as the targets. Creating a watchlist confirms that whenever i set the value of the master, the values of the slaves are also set. Individual set points failures will not kill the "broadcast"; individual failure alarms will be raised as appropriate. Also, if, say, one of the points needed to be the opposite value of the master, i can use the point link script to do the transformation.
If your Mango is running op port 8080 (you access it on your localhost with http://localhost:8080), then you could configure your router under NAT/portforwarding/application_sharing (depends on your router) like this: set it to forward public TCP port 8080 of your router (or perhaps 80 if you like) to the LAN IP address and TCP port 8080 of the machine on your LAN (for example 192.168.0.1).
Perhaps stating the obvious, but ofcourse you should use a static LAN address for you server as well, or alternatively configure your router to always assign the same IP address to the paricular ethernet MAC address of your server.
I'd like to share here how to get Mango datapoints published on pachube.com. You could want to do so if you want to share some data feed with the world on this common datastream excange platform, or maybe you would like to be able to view datapoint charts in the pachube iPhone/Android app.
You can create a free account at pachube. You will get an API key after creating your account.
The pachube api normally works with http PUT to update data feeds and requires the api key to be put in a custom http header; that won't work with the Mango publisher. Luckily it is still possible to do it differently, but it is a bit hard to derive that from the documentation. Here's how to do it.
In the Mango publisher:
-choose the POST method.
-For feed number 0 in your stream number 1234, choose URL:
Both cases are my interests... But where should I copy my applets and classes to get those found by mango's graphical views HTML insert. I only get errors: Can't find class.xxx etc. etc. when I have tried