To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Use this VI to programmatically change the Web Server Root Directory that is normally changed from the LabVIEW Options window.
Description
This program shows how one could programmatically change the Web Server Root Directory that is normally changed from the LabVIEW Options window.
Ensure that the program has finished writing to the file and that the file is closed without error before doing anything with LabVIEW Web Services (Remote Front Panels, etc.).
Requirements
Steps to Implement or Execute Code
1.Select niwebserver.conf file
2. Insert the new root directory
3. Run VI
Additional Information or References
Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.