Hosting a Web Application During Development
- Updated2023-02-17
- 1 minute(s) read
Hosting a Web Application During Development
Host WebVIs running in the LabVIEW NXG editor with NI Web Server or the LabVIEW NXG embedded web server.
NI recommends hosting your WebVI with NI Web Server. NI Web Server helps you avoid additional configurations when you use other APIs NI Web Server hosts, such as SystemLink Tags and Messages. Refer to the NI Web Server Manual for more information.
Use the LabVIEW NXG embedded web server if you are unable to configure NI Web Server on your development PC. If you choose the embedded web server, you cannot connect to APIs hosted on the NI Web Server, such as the SystemLink APIs, unless you configure NI Web Server to support the cross-origin resource sharing (CORS) mechanism. Refer to Choosing Remote Settings to learn more about enabling CORS for NI Web Server.
To set your hosting preference in LabVIEW NXG, select .
Related Information
- Considerations When Accessing Data from Web Services
If you want to create a web application that sends requests to and receives responses from a web service, you need to know the origin of the web service that hosts the web application as well as the origin of the target web service.