Example Code

URL for WebVI

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • G Web Development Software
  • LabVIEW NXG
  • LabVIEW NXG Web Module

Code and Documents

Attachment

Download All

Description

The library provides APIs for parsing and creating URLs in WebVIs. See the demos online.

Features

  • Get and read parameters from the browser URL.
  • Navigate the page to a new URL programmatically.
  • Calculate a relative path to a new URL.
  • Trigger a browser download for a given URL path.
  • Advanced URL parsing functions to manipulate the parts of a given URL.

 

Diagram Palette

Changelog

Release 3 - Support for G Web Development Software 2021

Release 2 - Initial community release

 

 


Milan

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors