G Web Server Examples

Run Test CGI

This CGI takes a single parameter test and depending on its value, runs one of five tests. It then generates an HTML document with an embedded image of the panel of the VI which was run.

The HTML documents itself contains links to the other tests available.

The CGI can be called either without the test parameter

/cgi-bin/examples/tests.vi

or with a specific test number

/cgi-bin/examples/tests.vi?test=1
/cgi-bin/examples/tests.vi?test=2
/cgi-bin/examples/tests.vi?test=3


© National Instruments