01-20-2011 04:30 PM
Hi there. i have created an application that controls a device. works perfect. did some research on how to control the device through the internet and was advised to use the web publishing tool. worked perfect again. i created an internet page using dreamweaver with buttons for the device. is it possible to use buttons created in html to send commands to a VI and operate the device?
01-21-2011 05:01 AM
Hi,
If you use RESTful Web Services to communicate to your device then the URL can be used to control the system, a smart phone presentation recently showed that a box containing a light and fan was controlled via a url format i.e. <deviceIP>:port/web/service/fan/light where fan and light were sent as numerics 0 or 1, 0 being off and 1 being on therefore depending which URL you navigated to would change the physical state of the DIO. This can all be set within the RESTful Web Services and I'd recommend taking a look at the LabVIEW help file if you've not used this feature before.
01-21-2011 05:34 AM
01-21-2011 09:35 AM
thank you for the tip. will look into the example you mentioned and also in the labview help topics.
kind regards
joe