Owning Palette: Connectivity VIs and Functions
Requires: Full Development System (Windows). This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Web Services VIs to build and configure top-level VIs in LabVIEW Web services. You can accept and process HTTP requests from Web clients, create HTTP sessions, and perform other tasks associated with Web services communication.
Note This topic assumes familiarity with the Web services introduction and tutorial. |
Overview: Web-based Communication with a LabVIEW Application
Using the VIs on the Web Services Palette
Palette Object | Description |
---|---|
Read All Form Data | Reads the form data values received from the specified HTTP request. This VI processes that form data and assigns those values to elements in 1D arrays. Use this VI for requests that use the multipart/form-data encoding type. |
Read All Request Variables | Reads all request variables associated with the current HTTP request. Web services include over 30 request variables that provide information such as server label, remote address, and cache control related to an HTTP request. |
Read Form Data | Reads a single form data value associated with the current HTTP request. Use this VI for requests that use the multipart/form-data encoding type. |
Read Postdata | Reads any POST data associated with the current HTTP request. This VI does not handle POST data with the multipart/form-data encoding type. Use the Read Form Data VI to handle this encoding type. |
Read Request Variable | Returns the value for a single request variable associated with the current HTTP request. Web services include over 30 request variables that provide information such as server label, remote address, and cache control related to an HTTP request. |
Read Uploaded Files Info | Returns an array of clusters that contains information about all uploaded files associated with the specified HTTP request. This information includes the client filename, the path to the temporary storage location, the content type, and the size in bytes. |
Subpalette | Description |
---|---|
Application Web Server VIs | Use the Application Web Server VIs to support Web services deployed to the Application Web Server. |
Conversion VIs | Use the Conversion VIs to escape or unescape characters in a URL or convert images for LabVIEW Web services. |
NI Web Server VIs | Use the NI Web Server VIs to support Web services deployed to the NI Web Server. |
Output VIs | Use the Output VIs to set HTTP settings and write streaming responses. |
Service VIs | Use the Web Services VIs in startup VIs to access information about a LabVIEW Web service. |