From LabVIEW Wiki
Jump to: navigation, search

Enabling the Web Server in a built application

First include the two dll's "lvjpeg.dll" and "lvpng.dll" in the same directory as the run-time engine or the application. Second make an ini file of the application with the key "WebServer.Enabled=True" in the section of the application-name. For example if myapp.exe was the name of the application then the ini file would be called myapp.ini and contain the section [myapp]. Thirdly, you may include an access-list with the key "WebServer.TcpAccess="+*;-*.com", and a root-path where your htm documents can stored "WebServer.RootPath=" (where is a normal windows path e.g. c:\myapp).

Note: you can also use or localhost in your access list.