Jump to content

Enabling the web server in a built application


Recommended Posts

Yes it is possible to enable 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="+*.dhi.dk;-*.com", and a root-path where your htm documents can stored "WebServer.RootPath=<path>" (where <path> is a normal windows path e.g. c:\myapp).

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

Credit: Niels Harre

=========

Hello Sir,

I have tried using the same thing as you mentioned, but still it is not working. Should I have to install the application before enabling the web server?. If I want to put "webserver.enable=true" in the section of the application, should I over write the one that is existing. for eg. [myapp] should be over written by [webserver.enable=true]??? comming to the lvjpeg.dll and lvpng.dll, I included both of them in them in the install folder. I would like to know the significance of these dll's. Please help me on this.

regards

Sreedhar.

Link to comment
  • 3 months later...

Hi Sreedhar,

I'm just new in the forum, but working with remote panels for longer time. One basic for a remote panel viewed over web is, that the VI on the server has to be loaded in the servers memory. Otherwise it will not work. If the server application is down, you get no connection to the remote station.

Boris

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.