|LabVIEW 2015 Help|
|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
LabVIEW uses one of two types of web servers to host Web services on the network:
|Note For more information about concepts in this topic, refer to the Web services introduction and tutorial. LabVIEW Web services are available only in the LabVIEW Full Development System and the LabVIEW Professional Development System.|
When you include a Web service in the build specification for a LabVIEW stand-alone application, the application acts as a web server that hosts the Web service directly. LabVIEW unpublishes the Web service when the built application exits.
The LabVIEW built application starts its own web server that hosts the included Web services. Because each VI in the Web service is running in the same context as the application’s startup VI, you can use simple function global variables (FGV) to pass data between them. The following illustration shows an example of how a LabVIEW built application starts its own web server.
You can configure SSL and the port you want to use to accept requests for the Web service when you specify to include the Web service in the application build specification.
The Application Web Server that runs on a target hosts stand-alone Web services. Before you publish a stand-alone Web service from a LabVIEW project, you might need to enable and configure the Application Web Server.
Complete the following steps to check the status of Web services deployed to the Application Web Server:
The Application Web Server runs as an independent system service. You can enable and run the Application Web Server without running LabVIEW or the LabVIEW Run-Time Engine on the host system. Once you enable the Application Web Server, it launches whenever you boot up the system as ApplicationWebServer.exe.
When you start debugging a Web service, LabVIEW places the Web service on a debugging server, where it behaves as if published on a target.
The default port that web clients use to send requests to the Web service in debugging mode is 8001. To use a different port for debugging, select Tools»Options, browse to the Web Server page, and modify the Debug HTTP Port option.
LabVIEW also includes a System Web Server for internal Web service processes. The System Web Server also runs as an independent system service. After you install LabVIEW, the System Web Server launches whenever you boot up the system as SystemWebServer.exe. You cannot disable the System Web Server.
LabVIEW includes a separate web server that hosts remote front panels.