In this lesson we are going to learn about SubVIs and forumla nodes.
SubVIs are similar to subroutines from other programming langauges, in that they let us encapsulate code. SubVIs are similar to other VIs that we have created. But, SubVIs are executed from within another VI. Formula nodes on the other hand allow users to implement equations using text based instructions.
Lesson Video 1
Lesson Video 2
Procedure: Create the required VIs to achieve the follwoing tasks.
Create a formula node which has 3 inputs(X, Y, Z) and one output. If X>Y output Z, otherwise output 0.
Create a SubVI which performs the same task as the formula node. (Hint: Use the selection function found in the comparison palette)