PID control vi labview exectution rate

broken image

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. Creating and editing subVIs is a process available in all LabVIEW development systems. 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. 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. 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. SubVIs contain front panels and block diagrams which you specify when creating the subVI.

broken image

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. 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. The power of NI LabVIEW software lies in the modular nature of the VI. A subVI is similar to a subroutine in text-based programming languages. Within LabVIEW, program modularity means creating smaller sections of code known as subVIs. Modularity, by definition, means to use modules or smaller parts for the overall objective.

broken image