Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use CGI scripts or executables written in languages other than G (perl, tcl, shell scripts, compiled code, etc) to process client requests?

0
Posted

Can I use CGI scripts or executables written in languages other than G (perl, tcl, shell scripts, compiled code, etc) to process client requests?

0

No, not unless you come up with a modification to the Server code to allow this. The problem here involves argument-passing. LabVIEW and the G Server do not have a convenient way to pass the query string from a client’s browser to any CGI routine other than those written in G. There is also no convenient way to access the result of the non-LabVIEW script and pass it back to the client. Similar limitations are encountered when using the System Exec VI in LabVIEW. • Can other HTTP servers (httpd, etc) make use of CGI routines written in G? How about compiled CGI VIs? No, for reasons similar to those in the above explanation. Native CGI VIs would be completely unusable by other servers, and even with compiled version there is the problem of argument-passing. • Can I embed the HTTP G Server inside an executable and run it on a machine that does not have LabVIEW installed? Yes. In fact, as of LabVIEW 5.1, you do not actually need the Internet Developers Toolkit in order to serve Application

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123