From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 

executable G Web Server. The steps in G Web Server manual can not work for LV2012 or LV2011.

Maybe someone here could help me on the executable G Web Server.

 

1. How to edit conf file for it? Would you like to give me a stantard conf to download?

 

2. What I built is HTTP Server.vi, is this right for the HTTP platform?

 

3. when I ran this executable file built from HTTP Server.vi, a dialog appeard for 4 times, said: "Choose or Enter Path of File". What is this?

0 Kudos
Message 1 of 3
(6,281 Views)

Hello ChemistusingNI,

 

In response to your three questions:

 

1.  If you want to set configuration options other than those in the G Web Server Configuration dialog box, you should be able to open the configuration file in a text editor to edit the options manually. The access configuration, server configuration, and server resource map configuration files are located in the internet\http\conf directory.  I am curious, what edits to the file or settings do you need to change that aren't available in the G Web Server Configuration dialog box?

 

Also, there is no standard conf to download, as these files are generated specific to the settings on each machine.  There should already be a configuration file located on your system.

 

2.  There are numerous ways to interface with the HTTP platform, many of which could be considered "right."  The implementation of your VI is specific to the tasks you wish to carry out.  Without seeing a screenshot or copy of your HTTP Server VI and knowing what you intend for it to do, it is impossible for me to comment on whether your implementation will be able to work.  In terms of using the G Web Server, a typical main VI will act as the HTTP Server, so you are certainly on the right track.

 

3.  There must be a function somewhere in your HTTP Server VI that has a dependency on a file existing in your system.  The prompt you are seeing is asking for you to point to the file that it needs to execute your code.  Once again, I am unable to help you diagnose this prompt without knowing what your code is trying to do.  Are you able to share details of your implementation?

 

For more information on using the G Web Server and its configuration files, please see the following links:

http://www.ni.com/white-paper/7503/en

http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/including_ini_files_in_apps/

http://zone.ni.com/reference/en-XX/help/370014E-01/internet/using_g_web_server/

 

Is there a reason you want to use the G Web Server instead of the standard LabVIEW Web Server?  The LabVIEW Web Server is typically the recommended tool to run VIs on the web.  For more information, see the following links:

http://www.ni.com/white-paper/7350/

http://www.ni.com/white-paper/7747/

http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/enabling_and_configuring_t/

 

Thanks in advance for any additional details and clarifications you can provide me with.  Hopefully you can find a server configuration that will work for your application.

 

Regards

Patrick
CLA
0 Kudos
Message 2 of 3
(6,255 Views)

Thank you very much.

0 Kudos
Message 3 of 3
(6,248 Views)