LabVIEW_USB_DAQ_SIGNAL_instructions

LabVIEW_USB_DAQ_SIGNAL_instructions - LabVIEW -...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
LabVIEW - Instructions for Building a Virtual Instrument: Sample and Display Voltage Data Author: John M. Cimbala, Penn State University Latest revision: 28 February 2008 Introduction LabVIEW is a graphical programming language which was first developed in 1986. It combines data acquisition, analysis, and presentation tools into one software program. The goal of this exercise is to teach students basic concepts of LabVIEW programming. It also enables them to collect and analyze data in a LabVIEW program, or virtual instrument (VI). Students will open and modify a simple virtual instrument to collect voltage. The data acquisition hardware used in this exercise is from National Instruments, model NI DAQPad-6015, which interfaces to the PC through a USB connector. It has 8 differential analog voltage inputs, 16-bit resolution, and a maximum overall sampling rate of 200,000 samples per second. It was selected for ease of integration with LabVIEW, which is also made by National Instruments. Hardware setup In this exercise, you will be using a USB data acquisition device along with LabVIEW to conduct voltage measurements. A USB device was chose for simplicity, but it is one of the many different types of data acquisition devices that can be used. Another common interface is a PCI-slot data acquisition card. These cards can be plugged into PCI-slots on the computer’s motherboard, much like a sound or Ethernet card. Launch LabVIEW and become familiar with the layout 1. Start LabVIEW (Start >> All Programs >> National Instruments LabVIEW OR Start >> Programs >> LabVIEW , depending on the computer). 2. Under the “Examples” portion, select Find Examples … to load the NI-Example Finder. 3. In the NI Example Finder window, on the Browse tab, double click on the folder icons Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage . Under this directory you will find various VI’s which measure voltage. However, some of these require synchronization hardware that you will not use in this exercise. Scroll down and select: Cont Acq&Graph Voltage-Int Clk.vi by double-clicking on it ( Make sure you pick the correct file – there are some other files with very similar names! ). 4. Double-clicking on the example name will open a Front Panel window like that shown in the image below. A
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/23/2008 for the course ME 345 taught by Professor Staff during the Spring '08 term at Penn State.

Page1 / 4

LabVIEW_USB_DAQ_SIGNAL_instructions - LabVIEW -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online