Creating a SystemLink Web Application
- Copy the
Web Server\htdocs
andWeb Server\conf
folders and files to your Skyline web serverC:\Program Files\National Instruments\Shared\Web Server
- Modify
conf\htpriv.d\webvi_plugin.xml
to change the name of your application and permissions in the NI Web Server Configuration utility. - Modify
htdocs\plugins\webvi_plugin\resources\json\locales\en.json
to change the display name of your web application as shown in the web interface - We use font awesome http://fontawesome.io/icons/ by default for SWIF icons and you can modify
htdocs\plugins\webvi_plugin\config.json
to use a different icon. - Replace
htdocs\plugins\webvi_plugin\index.html
with your application or modifyhtdocs\plugins\webvi_plugin\config.json
if you need to launch a page other than index.html - From the Windows Start menu on your server launch the
NI Web Server Configuration
utility. Click on the Control tab and then Restart the Web Server.
Defining a Custom Icon
- Add the icon image file to
htdocs\plugins\webvi_plugin\resources\images
. - Modify
htdocs\plugins\webvi_plugin\resources\css\webvi_plugin.css
to use the new icon. - Modify
htdocs\plugins\webvi_plugin\config.json
to use the new icon class.
Deploying a WebVI
- Build your application with LabVIEW
- Copy the exported files and folders to the
htdocs\plugins\webvi_plugin
folder - Modify
htdocs\plugins\webvi_plugin\config.json
if your application is something other than index.html - Restart the Web Server
TODO
- Create a script to uniquify the plugin to make it easier to create multiple plugins