02-18-2016 02:58 AM
I have a hardware set-up which is controlled by LabVIEW using myDAQ. For this purpose we have made a GUI in LabVIEW at target.
Now, I want to monitor and control that GUI from a remote computer in real time through a web browser. The person monitoring through the remote computer should be able to see the same GUI as on target in his browser.
That means the remote computer will control the entire hardware set-up in real time.
So please suggest some precise and eleborate solution.
I have also attached a block diagram of my project .
Thank you in advance.
02-18-2016 03:38 AM
02-18-2016 07:12 AM
If you want 'real time' (i.e. low latency), you should take a look at LabSocket and the link in my signature - both use WebSockets which doesn't require the LV RT Engine to be installed and it works in all modern browsers (unlike remote panels) including tablet/mobile devices. LabSocket might be a good solution for you since it works using an intermediate server which you could put on the internet. The WebSockets stuff I have done mostly works directly to the target but you could create a node.js server which brokers the messages on the internet. The latency is very low - there's only a small overhead over using raw TCP/IP.
You can also push your data into a database and then serve it from there over the web, you could also communicate over some sort of RESTful API (e.g. HTTP). I've also had a go at using GroveStreams which is a cloud-based data service.
02-18-2016 08:05 AM
Thank you for your response but I think you didn't get my question. I know how to control a labview file from a remote place.
What I wanted to know that, I have a GUI at target side coded in LabVIEW; now my main question is what I am supposed to do in that labview file or at target side to make that file accessible for real-time control from any remote place through browser.
I hope it is clear now.
02-18-2016 08:22 AM - edited 02-18-2016 08:24 AM
Thank you for your response sir.
I just wanted to know that will I be able to monitor as well as control a labview file, that controls a real time process, from a remote place through a web browser using LabSocket? If yes then please suggest beginner's step to get started with LabSocket as I don't have any knowledge of this.
02-18-2016 08:51 AM
02-18-2016 09:29 AM
@NI3B wrote:Thank you for your response sir.
I just wanted to know that will I be able to monitor as well as control a labview file, that controls a real time process, from a remote place through a web browser using LabSocket? If yes then please suggest beginner's step to get started with LabSocket as I don't have any knowledge of this.
Then look on the website that I linked to. It works in the same way as a remote front panel (takes your VI and creates a web-based version of it) but it doesn't need the LVRT to access and works in all browsers. The solution using my WebSockets library works in the same way - but it requires more programming on your part to write the web-page / javascript as well as writing the code to read/respond to the WebSockets requests.