EXERCISE #1
In this exercise, we were instructed to create a circuit diagram with 2 resistors and a voltage input. The program will determine the voltage output based on the values entered for voltage and resistance.
Front Panel:
Block Diagram:
EXERCISE #2
Using ideal gas laws, determine the volume of gas present. Inputs should be in the form of knobs or dials. Output will be volume in liters. This particular example uses a while loop and a stop button.
Front Panel:
Block Diagram:
EXERCISE #3: Matrices
The protected matrix saves the values as the default for this array. The unprotected matrix will lose its data if I restart Labview
Front Panel:
Block Diagram:
EXAMPLE #4: Graphing
This program will take two sets of arrays and bundle them into matrices, then it will graph the values on the front panel. The second photo of the block diagram is the result of creating a subVI out of the block and array terminals.
Front Panel:
Block Diagram 1:
Block Diagram 2: Using subVI
EXAMPLE #5: For Loop Structures
This exercise uses a for loop to divide the interval from 0 to 2pi into 50 equal spaces. It will then graph sin vs cos into a single graph, resulting in a circle.
Front Panel:
Block Diagram:
No comments:
Post a Comment