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

Using Request Variables (Windows, ETS, VxWorks)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Parent Topic: Using the VIs on the Web Services Palette

HTTP environment variables, or request variables, provide information regarding over 30 aspects of the Web service including server label, remote address, and cache control. Use the variable name control on the Read Request Variable VI to select a specific request variable from a pull-down menu. Use the Read All Request Variables VI to return all request variables as an array for the current HTTP request.

Note  This topic assumes familiarity with the Web services introduction and Building a LabVIEW Web Service Application tutorial. LabVIEW Web services are available only in the LabVIEW Full Development System and the LabVIEW Professional Development System.

The following figure shows code that uses the Read Request Variable VI to access one of the available request variables that describe characteristics of the HTTP request.


 

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