Digital Signal Processing with
LabVIEW 8.6
Lab # 01
Getting Familiar with the LabVIEW
Environment
Designed by
Adnan Niazi
Lab Engineer
Signal Processing/Signal & Systems Lab
CECOS University of IT & Emerging Sciences
23rd- 24th Jan 2009
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Lab Rules
▌ Come to Lab on time
▌ Submit Lab reports in the very next Lab
▌ Don’t try to intentionally damage anything
▌ Come here with the intent to really learn something
▌ Never hesitate to ask a question
▌ Free to use the Lab from 8AM to 3PM
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Agenda
▌ What is LabVIEW
▌ Why use LabVIEW
▌ What is Virtual or Synthetic Instrumentation and how
LabVIEW helps in Virtual Instrumentation
▌ PC requirements for LabVIEW
▌ How to prevent PC from crawling to a halt after installing
LabVIEW
▌ How to ____ LabVIEW
▌ How to Efficiently arrange workspace
▌ Getting familiar to various execution controls
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What is LabVIEW
A Graphical programming Environment
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What is LabVIEW
No text based programming required
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What is LabVIEW
Posses the highest level of abstraction
Graphical Programming e.g.
LabVIEW , PSoC Express
High Level Textual Languages
e.g. C++,Java, C#, Handel-C
Assembly Language
MOV C, A
Machine Language
101110110011111011
Abstraction Level
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What is LabVIEW
Supports all major Languages
LabVIEW
C,
Visual
Verilog
Matlab
C++,
Studio
,VHDL
C#
.NET
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Why use LabVIEW
LabVIEW ensures faster time to market
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Why use LabVIEW
Explore the power of modern PCs(Multicore Programming)
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Why use LabVIEW
Great Software's need great help and support system
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Why use LabVIEW
Need more help. Visit NI Developer zone
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Why use LabVIEW
Still need more Help? Use NI Discussion Forum
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Why use LabVIEW
Get world wide exposure by sharing your innovations at
the NIWeek Conference
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
▌ Either Fabricate you own hardware
▌ Buy ready made hardware from National Instruments
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Fabricating your own hardware
Using Serial port
▌ Very easy interface
▌ Very low data rate makes it
useless for high data rate
applications
▌ Maximum data rate of 128Kbps
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Fabricating your own hardware
Using Parallel port
▌ Very easy interface
▌ High data rate compared to
Serial port
▌ Supports Up to 1.2Mbps
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Fabricating your own hardware
Using USB port
▌ Difficult interface
▌ Very high data rates
▌ Supports three different data
rates
Low speed 1.2Mbps
Full speed 12Mbps
High speed 480Mbps
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Fabricating your own hardware
Using Firewire
▌ Very difficult interface for FYP
▌ Suitable for high BW
applications
▌ Supports two speeds
400 Mbps (Firewire400)
800Mbps (Firewire800)
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Fabricating your own hardware
Using PCI port
▌ Very difficult for use in FYP
▌ Useful for extremely high data
rate applications
▌ Supports 1,2 & 4 Gbps
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Buying ready made hardware from NI
Advantages
▌ All NI products are very easy to use
▌ You can focus more on your particular application rather
than the low level details of hardware
▌ Great FYPs can be implemented in very small amount of
time
Disadvantages
▌ Expensive
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What Hardware to use in FYP
Buying ready-made Hardware from NI (159$ - 20000
$)
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Virtual Instrumentation and LabVIEW
Instrument have RAM, ROM, Processor and display
and a specialized front end instrumentation
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Virtual Instrumentation and LabVIEW
Every PC has all these things except the front
end instrumentation
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Virtual Instrumentation and LabVIEW
Pc+ Some Front End Instrumentation = Virtual or Synthetic
Instrument
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
PC Requirements for LabVIEW
Minimum PC Requirements for LabVIEW
▌ Processor Pentium III/Celeron 866 MHz or equivalent
▌ 256 MB
▌ 1024 x 768 pixels Screen Resolution
▌ Windows Vista/XP/2000
▌ 1.6 GB Disk Space
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
PC Requirements for LabVIEW
Recommended PC Requirements for LabVIEW
▌ Processor Pentium 4/M or equivalent
▌ 1 GB RAM
▌ 1024 x 768 pixels Screen Resolution
▌ Windows Vista/XP
▌ 1.6 GB Disk Space
For a more complete list of system requirements for LabVIEW and its
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Installing LabVIEW
▌ Install Winrar
▌ Install Microsoft.net Languages package
▌ Extract and Install LabVIEW_8.6_E.zip
▌ Extract and Install visa441full.zip
▌ Extract and install NI-VISA Run-Time Engine 4.4.zip
▌ Extract and install LV_DSP module_86.zip
▌ Extract and install LV_DFDT_86.zip
▌ Create more space in the installation partition using
Partition Magic.
08-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
To View the Presentation
▌ Install Adobe Acrobat 9
▌ Install Flash media player 10
▌ Install Firefox 3
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
PC Slow Down
At least 9 NI processes start running after installation
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Preventing PC Slow Down
You can spare yourself the frustration of a slow PC
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Preventing PC Slow down
Stopping unnecessary Services
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Preventing PC Slowdown
Stop the following services
▌ National Instruments Domain Service
▌ National Instruments LXI Discovery Service
▌ National Instruments mDNS Responder Service
▌ National Instruments PSP Server Locator
▌ National Instruments Time Synchronization
▌ National Instruments Variable Engine
▌ NI Device Loader
▌ NI PXI Resource Manager
▌ NILM License Manager
▌ Lookout Citadel Server
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Prevent PC Slowdown
Stop some of the Windows Services that you don’t require
▌ FLEXnet Licensing Service
▌ Microsoft Office Diagnostics Service
▌ Net Logon
▌ Network Provisioning Service
▌ NT LM Security Support Provider
▌ Office Source Engine
▌ OpcEnum
▌ Performance Logs and Alerts
▌ Portable Media Serial Number Service
▌ WMI Performance Adapter
▌ Remote Access Auto Connection Manager
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Prevent PC Slowdown
Stop some of the windows services that you don’t require
▌ Remote Access Connection Manager
▌ Remote Desktop Help Session Manager
▌ Routing and Remote Access
▌ Smart Card
▌ System Restore Service
▌ UPS
▌ Windows CardSpace
▌ Windows Driver Foundation - User-mode Driver Framework
▌ Windows Image Acquisition (WIA)
▌ Wired AutoConfig
▌ Wireless Zero Configuration
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Preventing PC Slow down
Stopping Startup Programs
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
________ LabVIEW
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Starting LabVIEW
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What is Block Diagram
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
What is Front Panel
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Effectively Arranging Workspace
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Using Context Help
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
Using Execution Control Buttons
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences
LabVIEW Success Story: Students from RPI use NI LabVIEW and NI
Compact RIO to design a
Human Object Transport Vehicle (HOT-V) from simulation to actual
prototype in just a semester
2008-2009 All rights reserved.
CECOS University of IT & Emerging Sciences