Wednesday, November 4, 2009

IS Lab View Experiments

I may not be able to upload the scanned file on time. But, check out the following script.

___________________________________

Experiment No. 7

AIM:
To perform logical operations (using all the logic gates) in LabView.

SOFTWARE REQUIRED:
National Instruments LabVIEW 7.1


PROCEDURE:
1. Open 'LabView 7.1' from 'Start'->'Programs' menu.
2. Open 'NewVI' using 'File' menu. Two windows - 'Front Panel' and 'Block Diagram' will applear.
3. Tile the two windows Left and Right using 'Windows' menu.
4. In the 'Block Diagram' window, right click on the white workspace. A 'functions' toolbox will appear.
5. Insert an 'AND' gate from 'All Functions'->'Boolean' tab in the functions toolbox.
6. Right Click on one of the input terminals of 'AND' gate and insert a 'control' from 'create' menu. Name it as 'x'.
7. Again repeat the above step for other input terminal of 'AND' gate. Name it as 'y'.
8. Right Click on the output terminal of 'AND' gate and insert an 'indicator' from 'create' menu.
9. In the 'Front Panel' window, change the boolean states of 'x' and 'y' inputs by clicking on them.
10. Select 'Run' option from 'Operate' menu.
11. Note down the status of 'indicator' - output LED.
12. Repeat the above 3 steps for different input states.
13. Compare the observations obtained with the truth table of AND gate.
14. Save the 'VI' using 'save' option from 'File' menu.
15. Repeat the above experiment for different logic gates as listed below.
i. AND
ii. OR
iii. Exclusive OR
iv. NOT
v. NOT AND
vi. NOT OR
vii. NOT Exclusive OR

Pencil Work:
Draw all logic gates with two inputs and one output.
Draw output with two input buttons labelled x and y and one ouput.
Draw truth table for each gate.

______________________________________________

Experiment No. 8

AIM:
To perform arithmetic operations in LabView.

SOFTWARE REQUIRED:
National Instruments LabVIEW 7.1


PROCEDURE:
1. Open 'LabView 7.1' from 'Start'->'Programs' menu.
2. Open 'NewVI' using 'File' menu. Two windows - 'Front Panel' and 'Block Diagram' will applear.
3. Tile the two windows Left and Right using 'Windows' menu.
4. In the 'Block Diagram' window, right click on the white workspace. A 'functions' toolbox will appear.
5. Insert an 'Add' function from 'All Functions'->'Numeric' tab in the functions toolbox.
6. Right Click on one of the input terminals of 'Add' function and insert a 'control' from 'create' menu. Name it as 'x'.
7. Again repeat the above step for other input terminal of 'Add' function. Name it as 'y'.
8. Right Click on the output terminal of 'Add' function and insert an 'indicator' from 'create' menu.
9. In the 'Front Panel' window, change the numeric values of 'x' and 'y' inputs.
10. Select 'Run' option from 'Operate' menu.
11. Note down the output value.
12. Repeat the above 3 steps for different numeric values.
13. Save the 'VI' using 'save' option from 'File' menu.
14. Repeat the above experiment for different arithmetic functions as listed below.
i. Add
ii. Subtract
iii. Multiply
iv. Divide

Pencil Work:
Draw all arithmetic functions with two numeric inputs and one output.
Draw output with two input boxes labelled x and y and one ouput.
Write Output as -> 2 + 3 = 5, 25 + 10 = 35

_____________________________________________

Hope it helps. If possible, i'll try my best to upload the file before 2 a.m.

1 comment: