Approach to Building a VITo create a VI, the following general approach is used. 1. Define the function of your VI. What do you want your VI to do? 2. Create the user interface on the front panel. Determine the inputs and outputs you need and then place the appropriate controls and indicators on the front panel. 3. Build the block diagram in the diagram window.Using the functions and structures from the LabVIEW VI libraries, construct the block diagram to perform the required functions. If a block diagram becomes too cluttered with a large number of icons, they can be grouped and made into separate modules called subVIs (analogous to a subroutine in conventional programming) to maintain clarity and simplicity of the block diagram. 4. Debug. If your VI has errors and won’t run, LabVIEW has some debug features to help you find the errors.