Owning Palette: Service VIs
Requires: Full Development System (Windows)
Returns information about the current Web service. Use this VI to programmatically access the contents of the public and private folders of the Web service.
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 is an identifier used by Service VIs to access information about the current Web service. LabVIEW Web Service works similarly to a refnum in LabVIEW, allowing you to wire together Service VIs within your application. You can also wire LabVIEW Web Service Request to this input, as LabVIEW Web Service Request inherits from LabVIEW Web Service. When you use Service VI(s) within a startup VI, you must assign the control wired to the original LabVIEW Web Service input to the connector pane for the Service VI(s) to function. |
|
attribute name identifies the web service information you want to read. This parameter provides a pull-down menu of available attribute names, including:
|
|
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
LabVIEW Web Service out is used by Service VIs to reference the current Web service. Use LabVIEW Web Service out to wire together Service VIs within your application. | |
value returns the web service attribute specified by attribute name as a string. | |
error out contains error information. This output provides standard error out functionality. |
The code shown below uses Read Service Attribute to generate the path to a specific file in the Public Content folder of a Web service.