LabVIEW 2018 Help
View Product Info
DOWNLOAD (Windows Only)
Requires: Full Development System (Windows)
From the Project Explorer window, right-click a Web service project item and select Properties to display this page of the Web Service Properties dialog box.
Use this page to name the Web service and configure settings related to debugging and performance.
This page includes the following components:
- General—Includes the following component:
- Version Number—Contains the version number.
- Major—Specifies the component of the version number that indicates a major revision.
- Minor—Specifies the component of the version number that indicates a minor revision.
- Fix—Specifies the component of the version number that indicates a revision to fix problems.
- Build—Specifies the component of the version number that indicates a specific build.
- Static Documents—Includes the following component:
- Serve default index.html for static document folders—Configures the Web service to load a file named index.html when the Web service calls a static document folder without a specific filename.
- Required Permissions—Specifies a list of permissions that a user or group must have to access public static content. You can establish permissions and assign those permissions to users and groups using the Security Configuration page when you configure a target using a Web browser.
- Advanced Settings—Includes the following components:
- Enable remote debugging—Enables debugging for the Web service from a remote computer. If you include the Web service in the build specification for a stand-alone application, LabVIEW uses the value of the Enable remote debugging option in the application build specification instead of the value on this page.
- Additional Exclusions—Includes the following components:
- Disconnect type definitions— Specifies whether to omit type definitions from controls when LabVIEW deploys the Web service. Selecting this option for an application with a large number of VIs can potentially reduce the memory usage of the Web service.
- Remove unused polymorphic VI instances—Specifies to remove unused polymorphic VI instances when deploying the Web service. When you add an instance of a polymorphic VI to the block diagram of a VI you include in the Web service, LabVIEW adds all other instances of the polymorphic VI to the Web service. If you place a checkmark in this checkbox, LabVIEW removes any polymorphic VI instances you do not call directly from the block diagram. You may want to disable this option if you dynamically load an instance of a polymorphic VI so LabVIEW does not exclude the polymorphic VI instance you dynamically load from the Web service. Removing the checkmark from this checkbox may increase the size of your application.
- Remove unused members of project libraries—Specifies to remove unused project library members when deploying the Web service. If you place a checkmark in this checkbox, LabVIEW includes only the VIs from the library you call directly from the block diagram. Enabling this option reduces the size of the Web service because LabVIEW does not include the other VIs referenced by the same project library unless the VIs are referenced by other VIs that are part of the Web service.
- Modify project library file after removing unused members—If you select to remove unused members of the project library, place a checkmark in this checkbox to direct LabVIEW to modify the library so that the library file does not refer to the removed members. If you do not modify the project library, the Web service might take longer to deploy. If you include the Web service in the build specification for a stand-alone application, LabVIEW uses the value of the Modify project library file after removing unused members option in the application build specification instead of the value on this page.
- Disconnect unused inline subVIs—If you place a checkmark in this checkbox, LabVIEW does not load any unused inline subVIs into memory when you load the Web service, which improves load time and reduces memory usage. LabVIEW considers an inline subVI to be unused if VIs within the Web service only call the subVI statically via the subVI node. LabVIEW does not disconnect unused inline subVIs unless you disable debugging in the Advanced Settings section of this page. You also must remove the block diagrams from unused inline subVIs; otherwise, LabVIEW does not disconnect them.
Note If an unused inline subVI is a member of a class, LabVIEW loads that subVI into memory when you load the Web service even if you place a checkmark in the Disconnect unused inline subVIs checkbox.|