Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CGI Read Request VI

LabVIEW Internet Toolkit 6.0.2 Help
June 2008

NI Part Number:
370014C-01

»View Product Info

Owning Palette: CGI Template VIs

Installed With: Internet Toolkit

Waits the time that timeout in secs specifies for a request before timing out.

If a request arrives, the calling VI can use its content and the associated env variables to build an appropriate reply that must be returned with a call to the CGI Write Reply VI.

timeout in secs is the length of time the VI waits for a request. If timeout is –1, the VI waits until the G Web Server stops running. If you do not wire timeout in secs, the VI waits the number of seconds specified in the G Web Server configuration file.
cgi connection info contains information identifying the CGI request. You can wire this output to the cgi connection info input of the CGI Spool Cookie VI, the CGI Write Reply VI, or the CGI Release VI.
env contains the CGI environmental variables of the request.
content is the content sent with the request, which a traditional CGI application reads from standard input.
valid request? returns TRUE if the request is valid and FALSE if the request is invalid. If it returns TRUE, the caller must process the request and write a reply with the CGI Write Reply VI. If it returns FALSE, the caller must complete execution by calling the CGI Release VI.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit