Thursday, November 5, 2015

HW #16

Assignment #16: LabView

1. Create a VI similar to the front panel shown above, and use it to determine the decimal value equivalent to the following binary numbers:
a. 001 (C is off, B is off,A is on)
b. 010
c. 101


2. Modify your VI to handle four-bit binary numbers by adding another switch.


3. Use LabVIEW’s Square and Square Root functions to create a VI that will accept a value, compute the square of the value and the square root of the value, and display the results. What happens when X > 0 and X < 0?


4. Write a quadratic equation solver that will accept values for A, B, and C, and then compute both quadratic solutions (one solution using the plus symbol, the other using the minus symbol in the following equation).


Pictured below is the front panel I created for this series of problems:



Block Diagram for #1 and #2



Bock Diagram for #3 and #4


No comments:

Post a Comment