‎03-09-2005 06:38 AM
‎03-10-2005
08:47 PM
- last edited on
‎03-17-2026
10:12 AM
by
Content Cleaner
Alan,
I guess you know this would be tremendously easy if you didn't have the access restriction requirement; you could just use LabVIEW's built-in, non-Internet Web Server, and add one line to your app's INI file.
But building the toolkit's Web server into an EXE should work, although it could be a struggle to get all the configuration details in place in the right relative positions with respect to the EXE so that everything works properly.
I would advise following the general outline given in the Building HTTP Server Into Your LabVIEW Application document in the zipfile on NI's ITK FAQ page topic for this issue. That document says some things that are more relevant to older App Builder versions, but the main thing is to add the zipfile's HTTP Dynamic VIs.vi as a dynamic VI when setting up the build, which ensures that all the files the G Web Server needs will be available in the EXE. And you need to make sure your VI programmatically starts the server, as described.
The How To Build the G Web Server Using CGI Into an Executable KB entry goes into more detail about CGI functionality, which probably isn't relevant in your case, and also gives some tips for the general configuration settings for the EXE. You basically have to recreate the G Server configuration files underneath the EXE. If you transplant your access restriction files and HTML files with embedded panels from the LabVIEW side of things, you should be able to get it to work.
Regards,
John
‎03-10-2005 11:56 PM
‎03-11-2005
01:12 AM
- last edited on
‎03-17-2026
10:12 AM
by
Content Cleaner
Hi Alan,
It looks like some of your VIs are not compiled to the version of LabVIEW you are using. You will have to mass compile the files that you need for the application. Please follow the instructions in this KnowledgeBase:
Error 7 at Invoke Node When Building a LabVIEW Executable
Let us know if that doesn't fix the issue.
‎03-11-2005 04:25 AM
‎03-11-2005 08:49 AM - edited ‎03-11-2005 08:49 AM
Message Edited by Johnner on 03-11-2005 09:49 AM
Message Edited by Johnner on 03-11-2005 09:50 AM
‎03-13-2005 08:12 PM