You are on page 1of 9

DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND MANAGEMENT

Accredited by NAAC with Grade A+


Accredited by NBA, New Delhi.
Department of Electronics and Communication Engineering
Udayapura, Kanakapura Road, Bengaluru-560082
2022-2023
TOPIC: LABVIEW CREATIVE ASSESSMENT(21EC384)
BY: Sudeep B L (1DT21EC067)
ECE-B
Under the guidance of : Dr. Ravi kumar.
Asst Prof of E& CE Department.
DESIGN A CALCULATOR USING CASE
STRUCTURE
TO DESIGN A CALCULATOR USING CASE STRUCTURE
AIM : .
PROCEDURE :
❖ Open the LABVIEW software and create a new VI.
❖ To view both front panel and block diagram panel together, press CTRL+T.
❖ In front panel take two numeric controls and name it as A and B.
❖ In the block diagram panel take a ‘case structure’ (it is available in the ‘structures’)
❖ Now connect the ‘case selector’ block to ‘test ring’.( it is available in ‘ring and Enum’ block.)
❖ Now give default as ‘zero’.
❖ Select ‘addition function’ inside the case structure and connects its inputs to A and B then connect
output to numeric indicator.
❖ Now give the number as 1 and take ‘subtraction function’ and make the connections.
❖ Repeat the procedure for 2 and 3 and select multiplication and division functions respectively.
❖ Now go to the properties of Test ring function insert all operations with respect to their numbers.
❖ Give the inputs and run the program.
RESULT :
Calculator using case structure have been designed and verified .
Department of Electronics and Communication Engineering
Accredited by NBA, New Delhi.
DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND MANAGEMENT
Accredited by NAAC with Grade A+
Udayapura, Kanakapura Road, Bengaluru-560082
2022-2023
TOPIC: LABVIEW CREATIVE ASSESSMENT(21EC384)
BY: Varshini.M (1DT21EC077)
ECE-B
Under the guidance of : Dr. Ravi kumar.
Asst Prof of E& CE Department.
ABILITY ENHANCEMENT COURSE (LabVIEW)

DESIGN TO FIND A NUMBER IS EVEN OR ODD


AIM: TO FIND OUT A GIVEN NUMBER IS ODD OR
EVEN USING LABVIEW SOFTWARE

Explanation
 How do you know if a number is even or odd in Labview.
 ODD/EVEN: If you have an integer datatype, do a bitwise AND with "1" and
check if the result is zero (even) or not (odd).

 An even number is a number that can be divided into two equal groups. An
odd number is a number that cannot be divided into two equal groups. Even
numbers end in 2, 4, 6, 8 and 0 regardless of how many digits they have (we know
the number 5,917,624 is even because it ends in a 4!).

ADVANTAGES
 Odd-Even Formula:

 This has been formulated to bring down the number of cars running
on the roads in Delhi and to increase the use of public transports. As
per this formula cars with odd-numbered registration plates would apply on
odd dates and those with even-numbered registration plates would do so on
even dates.
Front and Block Diagram Panel
Front and Block Diagram Panel

RESULT:DESIGN TO VERIFY A FUCTION TO BE EVEN OR ODD


IS VERIFIED USING LABVIEW SOFTWARE.

You might also like