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

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
  • Learn
    • eBooks/Tech Tips
    • FAQs
    • EE Training Days
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Video
    • EE Videos
    • Teardown Videos
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • Leap Awards
    • White Papers
  • Subscribe
You are here: Home / Featured / What is an instrument driver and why do I need one?

What is an instrument driver and why do I need one?

February 16, 2023 By Rick Nelson Leave a Comment

Instrument drivers take some of the sting out of controlling test instruments by adding an abstraction layer.

Almost everyone who uses computers has had experiences with drivers, and probably not good ones. In the olden days, if you had wanted to hook an old printer up to a new computer, you would have searched through file cabinets hoping to find the CD (or even the floppy disk) that came with it. Now, you search the web, hoping your printer manufacturer still offers a driver for the printer you may have bought years ago, or recently from a yard sale. Similarly, if you want to hook up an instrument or any other peripheral hardware to your computer, you will likely need a driver.

But why do we need drivers, anyway?
Drivers provide a layer of abstraction between you and your peripheral hardware. When you want to print a document, you simply issue a print command. You, and your operating system, don’t need to specify how to position the print head and what inkjets to fire at any given time. The driver takes care of the details. And if you want to read a voltage on channel 2 of your digital multimeter (DMM), you simply issue a “get_voltage_channel_2” command. You don’t have to worry about what relays or switches to flip inside the DMM to enable channel 2. The driver handles that.

Figure 1. A driver provides a layer of abstraction between your instrument and your computer

So, I just get a driver, install it, and forget it, right?
Drivers are operating-system-specific, so make sure you choose the appropriate one. You might also want to give some consideration to the type of driver you are getting. Keep in mind you can interact with an instrument in a couple of ways (Figure 1): through a graphical user interface (GUI), which brings the instrument’s front panel to your computer screen, and through a test program, which can automate your test-and-measurement tasks.

For the GUI, a simple plug-and-play driver should suffice. When you replace your instrument, you’ll get a newer, better one with its own GUI. Test programs, written in C, LabVIEW, or some other high-level language, do present some issues, though. Over the years, you might have made quite an investment in test-program development, and you don’t want to have to extensively modify your test programs every time you get a new oscilloscope or signal generator. To keep things simple, you should choose a driver that conforms to the Interchangeable Virtual Instruments (IVI) standard, maintained by the IVI Foundation.

Are there IVI drivers for all instruments?
The IVI Foundation defines several classes of instruments, including DMMs, oscilloscopes, arbitrary-waveform/function generators, AC and DC power supplies, switches, power meters, spectrum analyzers, RF signal generators, upconverters, downconverters, digitizers, and counter/timers. If you choose IVI drivers, you can control these instruments using the Standard Commands for Programmable Instrumentation (SCPI), which the IVI Foundation also maintains. With SCPI and an IVI driver, you would need minimal if any changes when swapping one instrument for another within a given instrument class.

Where do I get a driver?
Most instruments come with drivers for Windows, or you can download them from the manufacturer’s website. Many manufacturers also provide LabVIEW drivers. NI maintains a repository of LabVIEW drivers in its Instrument Driver Network. Of course, you can write your own driver if you can’t find one. Many people have uploaded drivers to repositories; but keep in mind that unless a driver is certified by the instrument manufacturer, it may not support every instrument function.

Is there an alternative to drivers?
Yes. Some vendors are beginning to leverage Internet-of-things technology and machine-to-machine (MTM) communications; they are adding a Representational State Transfer (REST) application programming interface (API) to their instruments. The REST API enables what is called RESTful web services, which often employ the hypertext transport protocol and the JavaScript Object Notation (JSON) data-interchange format. These services enable you to access an instrument from any browser running on any operating system. Say, for example, you have a group of instruments normally connected to a Linux host, but you want to do a quick check of a DMM’s channel 2 voltage level using your Android smartphone. If the DMM supports the REST API, you just open a browser on your phone and issue a command such as this one:

http://www.MyDomain.com/MyDMM/get_voltage_channel_2

Will REST replace drivers?
Test engineers will continue to prefer drivers because of their legacy test code and their familiarity with IVI and the associated Virtual Instrument Software Architecture (VISA), which also applies to plug-and-play drivers. Additionally, test-equipment vendors may resist supporting both the REST API and drivers. REST may make inroads in data-acquisition systems that potentially involve remote monitoring, but for situations where your DUT and instruments are in the same lab, you can expect drivers to be around for a long time.

You may also like:


  • Remote Communication with USBTMC

  • LXI or LAN extensions basics for instrumentation and SCPI

Filed Under: Automation, FAQ, Featured, Instrumentation Tagged With: IVI Foundation

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Featured Contributions

Why engineers need IC ESD and TLP data

Verify, test, and troubleshoot 5G Wi-Fi FWA gateways

How to build and manage a top-notch test team

How to use remote sensing for DC programmable power supplies

The factors of accurate measurements

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE TRAINING CENTER

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“test
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.
“bills

RSS Current EDABoard.com discussions

  • Right Half Plane Zero
  • dc-dc converter in series
  • Single ended measuring ports and balanced antenna
  • Thermal modelling of repetitive power pulse
  • Permittivity and Permealibility in CST

RSS Current Electro-Tech-Online.com Discussions

  • Microinverters and storeage batteries?
  • FFC connector white
  • Is AI making embedded software developers more productive?
  • Can I make two inputs from one??
  • Kawai KDP 80 Electronic Piano Dead
Search Millions of Parts from Thousands of Suppliers.

Search Now!
design fast globle

Footer

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips

Test & Measurement Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · 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