• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Test & Measurement Tips

Oscilloscopes, electronics engineering industry news, how-to EE articles and electronics resources

  • Oscilloscopes
    • Analog Oscilloscope
    • Digital Oscilloscope
    • Handheld Oscilloscope
    • Mixed-signal Oscilloscope
    • PC-based Oscilloscopes – PCO
  • Design
  • Calibration
  • Meters & Testers
  • Test Equipment
  • Suppliers
  • Video
  • EE Learning Center
You are here: Home / Design / Test and measurement with LabVIEW

Test and measurement with LabVIEW

July 20, 2018 By David Herres Leave a Comment

LabVIEW is an awesome product created and maintained by National Instruments. It consists of systems engineering relating to test, measurement and control of instrumentation, devices and machinery, and it is currently used worldwide in numerous applications. Rather than endless lines of textual coding, LabVIEW has a simple graphic interface where devices such as an oscilloscope can be entered into the user’s computer and controlled remotely. This is accomplished by means of VISA (Virtual Instrument Software Architecture) drivers, adapted and augmented by National Instruments for the application and downloadable into the user’s Mac, Windows, Unix or Linux operating system from the National Instruments website.

LabVIEW
LabVIEW front panel and block diagram can be tiled in the computer screen so that they are displayed side by side.

National Instruments was founded by three computer specialists in a family garage in Texas. First projects included a fuel pump credit card system and a specialized waveform generator for the U.S. Navy, in addition to a general-purpose interface bus (GPIB) board capable of connecting instruments to IBM PC’s. A breakthrough came in the early 1980’s when, working with the Apple Macintosh, the innovators connected to Apple’s innovative graphical interface. This quickly evolved into a new creation: LabVIEW, released in 1986. Rather than laboriously typing text-based code, this graphics software allowed developers to wire together icons representing pre-programmed blocks of code. Using a computer mouse, technicians could draw on-screen lines, which became virtual paths as required to connect instrumentation for research and educational projects, prior to prototyping new products or part of a maintenance protocol.

LabVIEW is cross-platform, connecting to and integrating Windows, Mac, Unix, Linux and other operating systems into instrumentation or machinery in diverse applications. User interfaces, called front panels, constitute virtual instruments (VIs), each of which also has a block diagram and connector panel, which joins other VIs. In the front panel are controls (inputs) and indicators (outputs) that display the results. The back panel contains the source code, which is displayed as terminals relating to objects that have been located in the front panel. Structures and functions, as they are known, also appear on the back panel, performing operations on controls and supplying data to indicators.

All controls, indicators, structures and functions appear as nodes on the front panel, and on the back panel they are connected using drag-and-drop wiring. Functioning inputs and outputs are accordingly defined in the front panel. To use LabVIEW to connect an instrument such as an oscilloscope to a computer, VISA drivers must first be installed in the computer.

VISA enables configuration, programming and diagnosis of instrumentation systems that have GPIB, VXI, PXI, serial, Ethernet or USB interfaces. VISA is the generic open-source version of this widely used software. Various organizations have developed and released versions of VISA that are optimized for their unique products. Examples are Tektronix’s TekVISA and National Instruments’s NiVISA.

This question arises: If, for example, TekVISA drivers are loaded into a MacBook Pro and one wants to load NiVISA drivers into the same computer for a different application, can they co-exist? Also, will one set of drivers serve for both applications so that the other does not have to be downloaded? The answer is that TekVISA works only for Windows OS. One version of NiVISA works for MacOS. A Tektronix MDO3000 Series oscilloscope, for example, is compatible with NiVISA.

LabVIEW is used for data acquisition, instrument control, and industrial automation. It begins to execute only when sufficient data becomes available. How this proceeds is based upon the block diagram in which the wires have been drawn. Variables are propagated through these wires that connect probes when all input data has been conveyed. If multiple nodes reach a point simultaneously, as in many networks, conflicts are resolved by means of parallel execution.

To connect an instrument such as an oscilloscope to a computer with a Mac, Windows, Unix or Linux operating system, if they are not already in place, there are three requirements to get started: The oscilloscope must be cabled to the computer, using either USB or Ethernet medium; The correct NiVISA drivers for the operating system must be downloaded into the computer from National Instruments website (www.ni.com); and the LabVIEW program must be obtained from the National Instruments Website.

LabVIEW is available in three editions, LabVIEW Base ($399 per year), LabVIEW Full ($2,999 perpetual) and LabVIEW Professional ($4,999 perpetual). A fully functional Professional edition is available free of charge for seven days for the purpose of evaluating the program. Each edition includes a separate version, LabVIEW NXG, which contains some additional functions. NXG is compatible with the Windows operating system only. (NXG may be considered the wave of the future, but as yet it is a work in progress.)

To summarize, LabVIEW is a graphical programming interface that uses C to implement connectivity between a computer and the user’s oscilloscope or any of a vast number of third-party instruments. However, you don’t need to know how to program in C, which remains invisible and behind the scenes, if you become adept at using LabVIEW’s graphical concepts in conjunction with basic computer configuration techniques. To see if you can succeed in the LabVIEW environment, you can download the free seven-day evaluation version of LabVIEW Professional and use it to connect your oscilloscope to your computer.

You may also like:

  • mil-std-1553b
    The basics of bus analyzers
  • labview
    End of an era at National Instruments: Dr. James Truchard,…
  • programmable power supply
    Basics of linear, switching, bench and external power supplies
  • keysight amp tester
    Gallery: Cool instruments at the 2015 International Microwave Symposium

Filed Under: Design, FAQ, Featured Tagged With: FAQ, nationalinstruments

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Test & Measurement Handbook


Oscilloscopes Finder

Subscribe to our Newsletter

Subscribe to test and measurement industry news, new oscilloscope product innovations and more.

Subscribe Today

DesignFast

Component Selection Made Simple.

Try it Today
design fast globle

EE TRAINING CENTER CLASSROOMS

“ee

“ee

“ee

“ee

RSS Current EDABoard.com discussions

  • Will this RF power transistor work for RF power amp at 2.4 GHz?
  • Stacked Diodes ?
  • (URGENT) DLL SDF back annotation issue
  • Kitchen balance load cells 10 kg
  • Triac BTA208S600D, BTA208S600F blinking or working unstable

RSS Current Electro-Tech-Online.com Discussions

  • MPLABX Assembler - Worried
  • new to Ardunio but trying to compile
  • Please help with 12v LED flasher w/ sound
  • Dust extractor remote switch
  • S/R Latch and Fault

Follow us on Twitter

Tweets by TestAndMeasure

Footer

EE World Online Network

  • DesignFast
  • EE World Online
  • EDABoard
  • Electro-Tech Online
  • Analog IC Tips
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Connector Tips
  • Wire and Cable Tips
  • 5G Technology World

Test & Measurement Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us
Follow us on TwitterAdd us on FacebookFollow us on YouTube Follow us on Instagram

Copyright © 2021 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy