Labview Experiment

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

EXPT.

NO:
DATE : REG.NO. :

CONVERSION OF TEMPERATURE UNITS


AIM:
To learn system about units of temperature like degree Celsius, Fahrenheit or Kelvin.

SOFTWARE:
- NI LabVIEW software.

THEORY:
It exits several kinds of system about units of temperature like degree Celsius,
Fahrenheit or Kelvin. These units are linked by formula and with Labview software we can
create an input interface to give the temperature to convert and output interface to read the
temperature with the new unit.

Formula:

From Fahrenheit to Celsius


5
𝑋℃ = (𝑋 ℉ − 32) ∗
9

From Celsius to Fahrenheit


9
𝑋℉ = ∗ 𝑋℃ + 32
5

From Kelvin to Celsius


𝑋℃ = °𝐾 − 273.15

From Kelvin to Fahrenheit


9
𝑋℉ = (°𝐾 − 273.15) ∗ + 32
5
PROCEDURE:

STEP: 1
LAB VIEW PROGRAMMING

Figure 1 Front panel Figure 2 Block Diagram

STEP: 2

INFERENCE:

RESULT:
EXPT.NO:
DATE : REG.NO. :

TRAFFIC LIGHTS WITH LABVIEW

AIM:
To model the behavior of one traffic signal and program the lights to model the specific
behaviors of the timing plans when imputed to do so.
SOFTWARE:
- NI LabVIEW software.

THEORY:
Traffic lights (or traffic signals) are lights used to control the movement of traffic.
They are placed on roads at intersections and crossings.
The traffic light sequence explained Red – An illuminated red traffic
light indicates that all road users should stop behind the line. The signal applies to everyone,
even cyclists. ... Amber – The amber traffic light means that you should stop unless it's not
safe to do so. Traffic lights are sets of two or more coloured lights which tell road users if it’s
safe and/or legal to cross the path of other road users. In the UK, the colours used are green,
amber and red. These colours are illuminated in a specific 4-phase pattern which is known as
the traffic light sequence.
 Red - stop
 Red and amber - prepare to go
 Green - go (as long as the way is clear)
 Amber - stop unless it’s not safe to do so

PROCEDURE: LAB VIEW PROGRAMMING


STEP: 1

Figure 1 Front panel Figure 2 Block Diagram


STEP: 2

INFERENCE:

RESULT:
EXPT.NO:
DATE : REG.NO. :

DICE GAME

AIM:
To model the behavior of dice application program

SOFTWARE:
- NI LabVIEW software.

PROCEDURE: LAB VIEW PROGRAMMING


STEP: 1

Figure 1 Front panel


STEP: 2 Front panel
Figure 2 Block Diagram for roll condition

Figure 2 Block Diagram for stop condition


STEP: 3 Block Diagram

INFERENCE:

RESULT:

You might also like