Write Response VI

Owning Palette: Output VIs

Requires: Full Development System (Windows)

Writes a streaming response string for top-level VIs configured to use stream output mode on the HTTP Method VI Settings page of the Web Service Properties dialog box. You can write the response to a buffer in memory or to the socket, and the response can be either buffered or unbuffered. If the response is buffered, use the Flush Output VI after this VI to send any remaining data that remains in the buffer. The status of error in does not affect the functionality of this VI.

Note  For more information about concepts in this topic, refer to the Web services introduction and tutorial.

 Add to the block diagram  Find on the palette
LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI.

When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
response string specifies the response string for a top-level VI that uses streaming, which you configure on the HTTP Method VI Settings page of the Web Service Properties dialog box.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
error out contains error information. This output provides standard error out functionality.