Professional Documents
Culture Documents
Subject: Bio-Instrumentation-Ii THIRD Year, Semester 6
Subject: Bio-Instrumentation-Ii THIRD Year, Semester 6
LAB HANDOUT- 2
OBJECTIVES: The Purpose of this lab is to study Virtual Instrument and it’s designing in
LabVIEW.
1) Front Panel:
The front panel is the user interface of the VI. You build the front panel with
controls and indicators, which are the interactive input and output terminals of the VI,
respectively. Controls are knobs, push buttons, dials, and other input devices. Indicators are
graphs, LEDs, and other displays. Controls simulate instrument input devices and supply data to
the block diagram of the VI. Indicators simulate instrument output devices and display data the
block diagram acquires or generates.
The Controls palette is available only on the front panel. The Controls palette contains the
controls and indicators you use to create the front panel. The controls and indicators are located
on subpalettes based on the types of controls and indicators.
INSTITUTE OF BIOMEDICAL ENGINEERING & TECHNOLOGY
LIAQUAT UNIVERSITY OF MEDICAL & HEALTH SCIENCES JAMSHORO
All Front Panel Elements Have Block Diagram Terminals: Block diagram terminals provide
access to front panel values.
INSTITUTE OF BIOMEDICAL ENGINEERING & TECHNOLOGY
LIAQUAT UNIVERSITY OF MEDICAL & HEALTH SCIENCES JAMSHORO
2) Block Diagram
After you build the front panel, you add code using graphical representations of
functions to control the front panel objects. The block diagram contains this graphical source
code. Front panel objects appear as terminals on the block diagram.
The Functions palette is available only on the block diagram. The Functions palette contains the
VIs and functions you use to build the block diagram. The VIs and functions are located on
subpalettes based on the types of VIs and functions.
2. Nodes Nodes are objects on the block diagram that have inputs and/or outputs and
perform operations when a VI runs.
3
INSTITUTE OF BIOMEDICAL ENGINEERING & TECHNOLOGY
LIAQUAT UNIVERSITY OF MEDICAL & HEALTH SCIENCES JAMSHORO
After you build a VI front panel and block diagram, build the icon and the
connector pane so you can use the VI as a subVI. EveryVI displays an icon, such as the one
shown at left, in the upper right corner of the front panel and block diagram windows. An icon is
a graphical representation of a VI. It can contain text, images, or a combination of both. If you
use a VI as a subVI, the icon identifies the subVI on the block diagram of the VI. You can
double-click on the icon to customize or edit it.
You also need to build a connector pane The connector pane is a set of terminals
that corresponds to the controls and indicators of that VI, similar to the parameter list of a
function call in text-based programming languages.
Data Flow
Each block diagram node executes only when it receives all inputs
Each node produces output data after execution
LAB TASK
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Question.3 How is the diagram window different than the front panel?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
INSTITUTE OF BIOMEDICAL ENGINEERING & TECHNOLOGY
LIAQUAT UNIVERSITY OF MEDICAL & HEALTH SCIENCES JAMSHORO
Question.4 Draw VI’s of an AND gate and OR GATE Boolean with arrays of 4:2 inputs?
Indicator should glow according to their truth table?