• 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
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • FAQs
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

You must be logged in to post a comment.

Primary Sidebar

Current Digital Issue

A frequency you can count on There are few constants in life, but what few there are might include death, taxes, and a U.S. grid frequency that doesn’t vary by more than ±0.5 Hz. However, the certainty of the grid frequency is coming into question, thanks to the rising percentage of renewable energy sources that…

Digital Edition Back Issues

Oscilloscopes Finder

Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Subscribe to our Newsletter

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

Subscribe Today

EE TRAINING CENTER CLASSROOMS

EE Classrooms

RSS Current EDABoard.com discussions

  • Measure AC current accurateley (100mA to 10A)
  • Mosfet SSR triac output shunt circuit design
  • Tessent MBIST for memories with dedicated test clock
  • Very low voltage/power Schmitt trigger?
  • Natural Convection Heatsink for 80W power dissipation?

RSS Current Electro-Tech-Online.com Discussions

  • Best way to reduce voltage in higher wattage system?
  • surge arresters
  • Someone please explain how this BMS board is supposed to work?
  • Need a ducted soldering fan for solder smoke extraction
  • DIY bluetooth speaker

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 © 2022 · 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