LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling the web server in an executable for LV 8.6

I just upgraded form LV 7.1 to LV 8.6. In 7.1 I built a boat load of executables that had web server capabilities. That is the customer could view and operate the VI from any computer via Internet Explorer. It was very simple to do.

 

In 8.6 the web publishing tool is the same as is the enable web server function under tools>Options.  In 7.1 app builder, I would include the HTML files in a www directory under the target's root then I would simply open the tools>options menu and enable the server on the executable. It's not there anymore.

 

For the life of me I cannot figure out how to do this in 8.6. I've spoken to (2) people at NI Support and it didn't help. They were probably in high school when 7.1 came out.

 

I've figured out how to use project explorer to build both an application and installer build. I put the HTML files into a www folder under windowsvolume folder which is supposed to be the root. The executable works fine except for the web server.

 

It must be something simple. If anyone can help, I would appreciate it.

 

 

Message Edited by technics on 12-02-2008 02:18 PM
0 Kudos
Message 1 of 5
(3,643 Views)
Take a look at the LabVIEW Web Services questions.  I realize you're not using web services but the information there on how to build a web-enabled executable is still relevant to your use case.
Message 2 of 5
(3,638 Views)
It's got to be easier than that. I'll try it though
0 Kudos
Message 3 of 5
(3,633 Views)

I'm sorry to hear that the NI support people you talked to weren't able to help you.

 

There have been a few threads on this subject that you might find helpful:

http://forums.ni.com/ni/board/message?board.id=170&message.id=351396#M351396

http://forums.ni.com/ni/board/message?board.id=170&message.id=354555#M354555

 

It is a little more complicated than it was in 8.5. We are working to make it as simple as possible.

 

I am always interested to hear what problems you have so we can improve the feature.

 

Nathan

0 Kudos
Message 4 of 5
(3,623 Views)

This is crazy.

 

Build the application in project explorer.

 

After its built, I change the newly created niwebserver.conf file.  DocumentRoot "c:/www" or wherever I put the HTML files on the target machine.

 

Take it to the target machine, run setup, and everything works.

 

Thanks for your help, Nathan.

0 Kudos
Message 5 of 5
(3,605 Views)