Return to site

PID control vi labview exectution rate

broken image

A subVI is similar to a subroutine in text-based programming languages. The power of NI LabVIEW software lies in the modular nature of the VI. After you create a VI, you can use it on the Block Diagram of another LabVIEW program – this VI can now be referenced as a subVI. Using modular programming helps you reduce duplication of efforts through code reuse, streamline and visually clean up code, manage changes to code, and debug the Block Diagram quickly.

broken image

SubVIs contain front panels and block diagrams which you specify when creating the subVI. Unlike built-in LabVIEW function, when creating these VIs yourself, you must configure the a connector pane to set your VI’s inputs and outputs. You can also edit the icon of the subVI that is seen when it is on the block diagram to be an intuitive representation of what your function does. In this tutorial, you will learn how to create a subVI, how to edit its icon display, and how to build and configure the connector pane. Creating and editing subVIs is a process available in all LabVIEW development systems. Examine the connection terminals that are connected (if any).This tutorial will be useful for a beginner LabVIEW user or a user who is looking to capitalize on the modular design benefits of LabVIEW.

broken image