12-02-2008 02:12 PM - edited 12-02-2008 02:18 PM
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.
12-02-2008 02:23 PM
12-02-2008 02:37 PM
12-02-2008 03:07 PM
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
12-02-2008 04:09 PM
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.