06-30-2006 01:03 AM
06-30-2006 01:22 AM
06-30-2006 01:23 AM
06-30-2006 01:28 AM
So, your company has a server which hosts a web site...
In that case, it's another matter.
To connect to your computer, you would still need to do what Brian outlined. If you can get the people who manage your site to run your application on the server, then you should be set.
You would need to build your code into an executable and take the htm file created by the web publishing wizard (I believe the LV help explains how to use remote FPs in the executable).
Then, you would need to install the application (including the LV Run-Time engine) on the server and place the htm file in the appropriate place.
As a last thing, the people managing the server should be able to tell you the IP address assigned to the site and where the htm file is on the server, so you should be able to browse to http://x.x.x.x/path-to-application-htm-file and the application should be visible.
The main problems with this would be to convince the server guys to do this, to update the application in the future (you will have to talk to them each time) and what happens if they replace the server - you will have to reinstall your application.
06-30-2006 06:00 AM
hello tst,
everything is fine you wrote, but still want to share something with you.
is it possible to publish something without a host server? If I don't have the web server occupies some space from ISPs, then?
Second thing, even if i do publish it via my local host server then we would't need to reinstall application everytime if we want changes in my pages.
I thought so b'coz if we can upload our website with the same procedure.......we don't need to convert it into an application, moreover if we require changes then we just have to replace files with the same name and as soon as the viewer refreshes the browser, gets updated page.
cheers !!
-Alok
06-30-2006 08:36 AM
@AL☼K wrote:
is it possible to publish something without a host server?
Brian explained how to do that - you need to get your IT people to assign a port for your own computer. This will be a problem if the only static IP address you have is at your ISP and not at your company.
we can upload our website with the same procedure.......we don't need to convert it into an application, moreover if we require changes then we just have to replace files with the same name and as soon as the viewer refreshes the browser, gets updated page.
Don't confuse files with applications. In order for people to see the application, you need to install it on the server once and it has to run all the time. After that, if you want to replace it, you will need to stop it each time and replace it with the new exe (not install, just replace and run the new application).
If the server hosting your site is a remote server, then you have a problem, because I don't know if the company owning it will let you install a program on it.
06-30-2006 09:28 AM
06-30-2006 11:23 PM
Hi tst,
I'm using LabVIEW's web publishing tool, and it creates HTML file in the default (C:\Program Files\National Instruments\LabVIEW 8.0\www) folder. this HTML file is continuously gets updated, i don know LabVIEW server might be doing that. But is it an application? If I use the same file then should it be installed everytime i press a button on my remote panel (having the LabVIEW server).
at this stage i dont want to trouble my company's server coz it's still on R&D. And also NI guys said that my front panel can be published on internet only by using ''Web Publishing Tool".
07-01-2006 02:10 PM
The htm file created by the wizard is only used to tell the browser that when it opens the page it also needs to connect to a running application and display it. It only has a few lines of text with the important one being the one pointing it to the proper application. The htm file itself never gets changed.
Since the server does not have LV installed, you will have to build the VI as an executable and install the LV run-time engine on the server. The RTE will allow the server to run whatever LV application you place on it, but you have to install it once. Technically, an LV application could run without installing the RTE, but that would only apply under certain conditions and would require knowing what you're doing. I'm pretty sure it won't help you in this case, because you would need the LV RTE to be registered as an ActiveX server. As Dennis also mentioned, if you want the users to be able to control the VI, each of them will have to install the LV RTE on their computer as well.
Basically, as the NI guys told you, you can publish your VI on the web simply by using the wizard, but you must have a static IP address in order to access that front panel. If this is only for your use, you can try other solutions, like using the Remote Assistance feature built into XP (Start>>Programs>>Accessories). This will allow you to connect to the computer even without knowing its IP address, but does not always work behind a firewall.