LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTML commands to labview?

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?

0 Kudos
Message 1 of 4
(2,549 Views)

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.

 

Applications Engineer
0 Kudos
Message 2 of 4
(2,519 Views)

Hi rsw,

  Can you please post the link for the smartphone presentation?Can you give me some details on the RESTful Web Services?

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 4
(2,514 Views)

thank you for the tip. will look into the example you mentioned and also in the labview help topics.

 

kind regards

joe

0 Kudos
Message 4 of 4
(2,496 Views)