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
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
What is a virtual instrument?2m 52s
-
Controls5m 22s
-
(Locked)
Indicators4m 25s
-
(Locked)
Run a VI2m 5s
-
(Locked)
Functions5m 10s
-
(Locked)
Data flow programming5m 14s
-
(Locked)
Tools palette3m 7s
-
(Locked)
SubVIs3m 50s
-
(Locked)
Challenge: Arithmetic average45s
-
(Locked)
Solution: Arithmetic average3m 46s
-
(Locked)
-
-
-
-
-
-
-