LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW webserver on iphone

Solved!
Go to solution

Is it possible, without using data dashboard, to view and/or control a LabVIEW front panel on an iPhone using LabVIEW Web Server?

0 Kudos
Message 1 of 4
(3,397 Views)

I was able to access the text and the border around the front panel on both a windows phone and an iphone, but no indicators or controls showed, just a page icon in the top left corner. It displays ok when clicking on Preview in Browser on the computer it is running on.

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

No, it won't work. Remote Front Panels require Silverlight and the LabVIEW run-time engine to be installed - neither of which are supported on the iPhone.

 

You can access LabVIEW Web Services from an iPhone which will allow you to host some web-pages from your LabVIEW application. You could then use other web-services or something like WebSockets with javascript to update the content on the page.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 4
(3,349 Views)
Solution
Accepted by topic author sfrosty

You probably wouldn't want to just have a VI show up on your iPhone the way it looks on your computer anyway because VIs aren't really designed for a mobile platform. Like, for example the buttons might be too small to press with your finger on such a small screen.

 

What you need to do is write a web page with HTML, Javascript, CSS (or whatever other tools you might want to use for a web page) and have your LabVIEW web service send data to the web page and have the web page send data back to the web service. Take a look at these tutorials for more info on how to do this: https://decibel.ni.com/content/docs/DOC-41151

 

For it to work well on your iPhone you just need to design the web page in a way so that is will adjust to smaller screens and still look nice. An easy way to do this is by using Bootstrap: http://getbootstrap.com/

 

--Hope

Message 4 of 4
(3,343 Views)