labview practice

26
LABVIEW Pre-requisites : Software required : Operating System : Windows 7/8/xp Tools :NI Labview Supporting Software :NA Hardware required: Development Board :NA Interfacing circuits :NA 182

Upload: varunsunil

Post on 16-Sep-2015

237 views

Category:

Documents


1 download

DESCRIPTION

Sample Practice program for LabView

TRANSCRIPT

LABVIEW

Pre-requisites :Software required : Operating System : Windows 7/8/xp Tools :NI Labview Supporting Software :NAHardware required: Development Board :NA Interfacing circuits :NA

BINARY TO DECIMAL CONVERSIONAIM :To convert the given binary number to its corresponding decimal equivalent using Labview system design software.

PROCEDURE : Create a VI and place the blocks needed such as Numeric, LED. Connect the blocks based on the logic as shown in the screen shot below. In the front panel click Run Continuously button and simulate the result. DIAGRAMS:

OUTPUT:

RESULT :The given binary number is converted into its decimal equivalent using Labview system design software.ODD / EVEN NUMBER GENERATIONAIM : To check whether the given number is even or odd using Labview system design software.PROCEDURE : Create a VI and place the blocks needed such as Numeric, LED. Connect the blocks based on the logic as shown in the screen shot below. In the front panel click Run Continuously button and simulate the result. DIAGRAM:

OUTPUT

RESULTThe given binary number is converted into its decimal equivalent using Labview system design software.8 BIT COUNTERAIM :To design a 8-bit counter in LABVIEW.

PROCEDURE : In the front panel place LEDs and a Numeric indicator and connect as in the front panel diagram. Place a while loop and convert the tunnel into feedback node and connect as in the block diagram. DIAGRAM:

OUTPUT:

RESULT:Thus 8-bit counter was designed and executed.7-SEGMENT DISPLAYAIM :To design a seven segment display using LABVIEW.

PROCEDURE : In the front panel place a Numeric control and 7 LEDs and arrange as in the front panel diagram. In the block diagram place a case structure and connect as in the block diagram using Boolean constants (True and False) and local variables. DIAGRAM:

OUTPUT:

RESULT:Thus the seven segment led was designed and executed using labview.BAND PASS IIR FILTERAIM:To design the Frequency Response of band-pass IIR Filter using Labview system design software.

PROCEDURE: Create a VI and place the blocks needed such as Numeric, LED and Case structure block. Connect the blocks based on the logic as shown in the screen shot below. In the front panel click Run Continuously button and simulate the result.DIAGRAM:

OUTPUT:

RESULT:Thus the Frequency Response of Band-Pass IIR Filter is designed using LABVIEW.ROTATION OF AN ARRAYAIM:To design the rotation of an array and to express the Boolean value of the array.

PROCEDURE: Create a VI and place the blocks needed such as Numeric, LED and Case structure block. Connect the blocks based on the logic as shown in the screen shot below. In the front panel click Run Continuously button and simulate the result.DIAGRAM:

OUTPUT:

RESULT:Thus the rotation of an array is designed using LABVIEW.MONITORING OF KEYBOARD AND MOUSE MOVEMENTS

AIM: To monitor the movement of keys in keyboard and Mouse in labview.PROCEDURE: Create a VI and place the blocks needed such as initialise keyboard, initialize mouse, acquire input in input device control. Connect the blocks based on the logic as shown in the screen shot below. In the front panel click Run Continuously button and simulate the result.DIAGRAMS :

OUTPUT:

RESULT: Thus the movement of keys and mouse was monitored in labview.201