07-16-2006 05:49 PM
07-17-2006 03:07 AM
Hello!
A few things you have to do in order to do this:
First you have to embed the VI in a web page, build the executable, build the installer with remote panel support, and enable remote panel support on the deployment computer.
The process for embedding the VI in a web page is done using the Web Publishing Tool so just select Tools > Web Publishing Tool and follow the instructions to embed the selected VI in an HTML page. After you have set everything up, save the web page and remember the location where you save it. You may get a message letting you know that you did not save it in the www directory. You can now add the web page to the project. Within the project, right-click My Computer and select Add File and then navigate to the new web page you just created and add it to the project.
Now it is time to build the executable and it is pretty much the same procedure as when you do an executable without remote panels. The addition you do is that you include the html file you created in part one under the Dynamic VIs and Support Files section.
Installer creation:
It is important to include the Application you created during the last step in the Source Files section of the installer. After including all of the files, go to Additional Installers and make sure that NI LabVIEW Run-Time Engine is selected, as well as NI LabVIEW Deployable License. These settings will make sure that the VI will run on a clean machine when it is installed and that the remote panel connections will be allowed by the license.
After building the installer and running it on your target machine, you must enable the options to allow the webserver to display the VI in your web page. Run the executable, and from the Tools menu select Options > Enable Web Server. It is possible that you will not be able to change it from the Tools menu. If this is the case, you can also edit the ini file for the application after you create it to achieve the same functionality. Simply add the following line to the ini file of your application: WebServer.Enabled=True. In the ini file for your exe, you will also need to change the rootpath for your webserver to the location where your html file was saved. In your ini file, there should be a line beginning with WebServer.RootPath=. Copy the path to your html file (it should have installed in the data directory for your exe) and replace the existing rootpath in your ini file. You should also make sure that the client computer (the computer from which you will be accessing the Remote Front Panel) is allowed to connect to the VI and that it has the LabVIEW Run-Time Engine installed.
07-17-2006 04:29 AM
07-25-2006 05:17 PM
07-26-2006 08:51 AM
http://Your Computer IP Address/Your HTML filename.htm (or html)
and view your front panel07-27-2006 09:47 AM
08-23-2006 06:05 AM