This example shows a possible implementation of a sub VI. Sub VI's are essentially consolidations of other code into one icon.
NOTE: please download the sub VI associated with this example, or the code will not work!