From the course: Learning LabVIEW

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

SubVIs

SubVIs - LabVIEW Tutorial

From the course: Learning LabVIEW

Start my 1-month free trial

SubVIs

- [Instructor] LabVIEW allows you to embed a VI within another VI as what's appropriately called a SubVI. SubVIs enable you to make your programs modular, which supports both code reuse and good block diagram organization. As a rule of thumb, if your block diagram grows large enough that you need to scroll the window to view it all, then you should consider if parts of it make sense to be organized into SubVIs. Simply buying a higher resolution monitor to fit more on the screen is not the best solution here. This Celsius to Fahrenheit VI contains the example code from a previous video that converts Celsius to Fahrenheit. It's a routine I know I'll need to use frequently, so it's a good candidate for a SubVI. To use it as SubVI, I'll need a way to pass data in and out. This little icon on the top-right corner of the front panel is called the connector pane, and it represents the potential terminals to connect to when this VI…

Contents