Programming Arduino With LabVIEW Sample Chapter
Programming Arduino With LabVIEW Sample Chapter
Programming Arduino
with LabVIEW
C o m m u n i t y
"Community
Experience
Distilled"
Oliver Manickum
$ 24.99 US
15.99 UK
Marco Schwartz
E x p e r i e n c e
D i s t i l l e d
Programming Arduino
with LabVIEW
Build interactive and fun learning projects with
Arduino using LabVIEW
Marco Schwartz
Oliver Manickum
Welcome to LabVIEW
and Arduino
National Instruments Corporation, NI, is a world leader when it comes to automated
test equipment and virtual instrumentation software. LabVIEW is a product that
they have developed, and it is being used in many labs throughout the world.
LabVIEW, which stands for Laboratory Virtual Instrument Engineering Workbench,
is programmed with a graphical language known as G; this is a dataflow
programming language. LabVIEW is supported by Visual Package Manager
(VIPM). VIPM contains all the tools and kits to enhance the LabVIEW product.
Arduino is a single-board microcontroller. The hardware consists of an open
source hardware board that is designed around the Atmel AVR Microcontroller.
The intention of Arduino was to make the application of interactive components
or environments more accessible. Arduinos are programmed via an integrated
development environment (IDE) and run on any platform that supports Java.
An Arduino program is written in either C or C++ and is programmed using its
own IDE.
Welcome to programming Arduino with LabVIEW. During the course of this book,
we will take you through working with Arduino through NI's LabVIEW product.
The following are what you will need:
We will work with Servos, LEDs, and Potentiometers in both analog and
digital configurations.
Chapter 1
Downloading LabVIEW
To download or purchase LabVIEW, head out to http://www.ni.com/trylabview/.
LabVIEW can also be purchased with an Arduino Uno bundle from SparkFun. At the
time of writing this book, the URL for this bundle is https://www.sparkfun.com/
products/11225.
If you did not download LabVIEW, do so now. To try LabVIEW without
purchasing it, click on Launch LabVIEW.
To install the product, click on all the default options. Note that the Arduino plugin
is not found in the initial install of LabVIEW.
Once LabVIEW is installed, launch the Visual Package Manager.
The VIPM will now launch. The VIPM application will look like this:
[7]
The VIPM will start downloading references to the package bundles into its
repository. The status bar is located at the bottom of the application; when the
references are downloaded, the status bar will switch to Ready.
[8]
Chapter 1
Now that the default settings for each of the applications are set up and launched,
we are ready to start programming in each application.
[9]
Summary
In this chapter, you learned more about LabVIEW and Arduino. We also installed all
the software that we need to get LabVIEW and the Arduino IDE up and running. In
the next chapter, we will get the Arduino package for LabVIEW installed and upload
a basic sketch to the Arduino board.
[ 10 ]
www.PacktPub.com
Stay Connected: