10-12-2016 09:48 AM
Well currently im trying to create a labview program where any user can go on it online and run it withought it needing to be open on my computer and I have no Idea how to do so. I checked the help pages and what not and still got nothing. Labview generally has a dumbed down web publishing tool that allows you to create the server really fast and it works, but its not what Im generally looking for. What I need is for the VI to run on the server withought it being open on my compute and to allow to store the data aquired for later. I dont know if im being perfectly clear, but any help would be best at this point since I have literally done everything imaginable to try and do so.
The idea of my assignment is that a customer can acces the vi remotely and view whats going on at any time
P.S. I tried using project, creating a web service, building an aplication with the vi tied to the web service, but could never find the url where the web server was to acces the vi itself.
10-12-2016 09:50 AM
Well currently im trying to create a labview program where any user can go on it online and run it withought it needing to be open on my computer and I have no Idea how to do so. I checked the help pages and what not and still got nothing. Labview generally has a dumbed down web publishing tool that allows you to create the server really fast and it works, but its not what Im generally looking for. What I need is for the VI to run on the server withought it being open on my compute and to allow to store the data aquired for later. I dont know if im being perfectly clear, but any help would be best at this point since I have literally done everything imaginable to try and do so.
The idea of my assignment is that a customer can acces the vi remotely and view whats going on at any time
P.S. I tried using project, creating a web service, building an aplication with the vi tied to the web service, but could never find the url where the web server was to acces the vi itself.
10-12-2016 10:19 AM
Well, wouldn't the solution be to run the VI on a different computer? I'm not trying to be facetious, but how do you intend to run something while not running it?
10-12-2016 10:35 AM
Sorry I meant, run the vi itself online withought having to turn it on locally. With the web publishing tool it does let you see the vi online, so long as the vi is open locally.
10-12-2016 10:58 AM
The VI has to run somewhere. The VI needs to run on whatever PC you have designated as your webserver so that other PC's can access it through their browser.
10-12-2016 11:00 AM
Alright then how do I make it so that whoever externaly acces it can log the data thats being displayed and not just control when it runs and stops?
10-12-2016 11:02 AM
@bravo176 wrote:The idea of my assignment is that a customer can acces the vi remotely and view whats going on at any time
Where will the VI be running? On your computer, or on a server somewhere? If you're talking to hardware, I guess it's running on your machine / a machine on your local network? If so, you can use web services (create and deploy the web service to your machine) or the remote front panel (create an executable which runs as a service - to make sure it's always running when your PC is running) tool.
Of course, your network settings need to allow (e.g. by port forwarding) for connections to your computer from the internet.
Of course there are other options such as writing the data to a database on the internet etc.
10-12-2016 11:15 AM
Put the files in a location others can access like a network file server. Or share the folder of the hard drive where the data is stored.