Creating a WebVI

Create a webVI (.gviweb) in which you can write a program.

  1. In the Navigation pane, right click on a component document and select New » WebVI.
    Note Top-level VIs must be WebVIs.
  2. Complete any of the following tasks to accomplish your programming goals:
    • On the diagram, write code that performs your desired task when the program executes.
    • On the panel, build a user interface.
    • On the icon editor, add inputs and outputs to configure a WebVI or a VI as a SubVI. After you save the SubVI, you can add it to the diagram of other VIs.
After you create a WebVI, run the WebVI in the development environment or build the WebVI into a web page to execute the code.