08-10-2016 02:03 PM
Is it possible, without using data dashboard, to view and/or control a LabVIEW front panel on an iPhone using LabVIEW Web Server?
Solved! Go to Solution.
08-10-2016 03:19 PM
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.
08-11-2016 03:24 AM
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.
08-11-2016 04:02 AM
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