Hi,
It's a bit different but the idea is the same....
ON THE LABVIEW / EXE BUILDER PC: First, create the HTML file of your vi and add them when building your application (exe). Instructions:
- Go to Tools»Web Publishing Tool. Follow the directions to create an HTML document on your hard disk. Make sure you remember where you saved your html file.
- Go to Tools»Build Application or Shared Library. Several items need to be added to the application for remote panel support under the 'Installer' Tab:
- Under the Files section, select to attach the HTML file that you created in Step 1. Choose the Installation destination as the Install Directory, and type 'www' into the Installation destination subdirectory.
- Build the application.
ON THE TARGET (DESTINATION) PC: When the exe is created you should enable your web server... you can do it with in two ways:
FIRST WAY: ENABLE IT AFTER CREATING THE EXE:
- Run the executable.
- Navigate to the Tools»Options»Web Configuration menu and place a check mark next to the Enable Web Server setting.
- Set the Root Directory field to the directory where you saved the .HTM file generated from the Web Publishing Tool. As mentioned above, the default directory is C:\Program Files\National Instruments\LabVIEW X\www.
SECOND WAY INSERT ON THE .INI:
Manually edit the executable's .INI file (the executable's .ini when you insert the application in the other PC!) with any text editor and add the following lines:
postScriptLevel2=False
WebServer.Enabled=True
WebServer.RootPath=C:\Program Files\National Instruments\LabVIEW X\www (See Note)
Note:
- WebServer.RootPath must be the path of the directory where you saved the .HTM file when you generated it in the LabVIEW Web Publishing Tool. The path shown in the example above is the LabVIEW default path. You should insert the place where your HTML is (check it first just navigating)!!!!!
Hope that will be enough,
Regards,
Jaime Cabrera
NI Applications Engineering Spain