Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
What is Developer Zone?
United States

Document TypeTutorial
NI Supported: Yes
Publish Date: Feb 02, 2012


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links -Products and Services

What is an Instrument Driver?

175 Ratings | 3.64 out of 5
Read in  |  Print |  PDF

Overview

An instrument driver is a set of software routines that control a programmable instrument. Each routine corresponds to a programmatic operation such as configuring, reading from, writing to, and triggering the instrument. Instrument drivers simplify instrument control and reduce test program development time by eliminating the need to learn the programming protocol for each instrument.

National Instruments provides instrument drivers for a wide variety of instruments; these instrument drivers are written in LabVIEW and/or LabWindows/CVI and use either the Plug and Play architecture or the Interchangeable Virtual Instrument (IVI) architecture.

Both architectures use Virtual Instrumentation Software Architecture (VISA) to provide bus and platform independent instrument communication. The Instrument Driver Network has thousands of free instrument drivers for download.

Table of Contents

  1. Plug and Play Instrument Drivers
  2. Interchangeable Virtual Instrument (IVI) Drivers
  3. Virtual Instrumentation Software Architecture (VISA)
  4. Related Links:

Plug and Play Instrument Drivers

Plug and Play instrument drivers simplify controlling and communicating with your instruments through a standard and straightforward programming model.  Using Plug and Play instrument drivers makes interacting with hardware easier than other instrument driver technologies.

The Plug and Play architecture is implemented in both LabVIEW and LabWindows/CVI.  Plug and Play instrument drivers provide source code native to the development environment.  With access to source code, you can modify, customize, optimize, debug, and add functionality to the instrument driver.  Source code also enables Plug and Play instrument drivers to be cross-platform, so you can use them in any operating system that works with LabVIEW or LabWindows/CVI software.

For more information on Plug and Play Instrument Drivers see Types of Instrument Drivers: Plug and Play.     

Interchangeable Virtual Instrument (IVI) Drivers

IVI drivers are more sophisticated instrument drivers that feature increased performance and flexibility.  These drivers are designed for more complex test applications that require interchangeability, state caching, or instrument simulation.

IVI drivers implement state-caching to eliminate redundant commands that may be sent to the instruments in your system.  This reduction in instrument I/O can provide significant performance improvements.  IVI drivers can also be configured to run in simulation mode, where the actual instrument and the signal it acquires or generates is simulated in software.

One of the most important features of IVI drivers is their ability to allow instruments to be interchanged in a system without modifying the test application.  The IVI Foundation has defined eight classes of instruments: DC Power Supplies, DMMs, Function Generators, Oscilloscopes/Digitizers, Power Meters, RF Signal Generators, Spectrum Analyzers, and Switches.  An instrument that conforms to one of the IVI Class specifications may be substituted with another instrument of the same class, regardless of manufacturer or bus connection (GPIB, USB, LXI, PXI).

For more information on IVI Instrument Drivers see Interchangeable Virtual Instruments

Virtual Instrumentation Software Architecture (VISA)

The Virtual Instrumentation Software Architecture (VISA) is a comprehensive package for configuring, programming, and troubleshooting instrumentation systems comprised of VXI, PXI, GPIB, TCP/IP, USB, and/or serial interfaces.  It provides a common foundation for the development, delivery, and interoperability of high-level multi-vendor system software components, such as instrument drivers, soft front panels, and application software.

NI-VISA is the National Instruments implementation of the VISA I/O standard. NI-VISA includes libraries, interactive utilities such as NI I/O Trace and the VISA Interactive Control, and configuration programs for all your development needs, and is standard across the National Instruments product line.

Related Links:

NI Instrument Driver Network
Types of Instrument Drivers
Interchangeable Virtual Instruments (IVI) Web Pages
NI-VISA
How to Use an Instrument Driver in LabVIEW Tutorial
IVI Foundation
On-Demand Training: IVI Fundamentals I - What Are IVI Drivers? (SSP required)
On-Demand Training: IVI Fundamentals II - Why Use IVI Drivers? (SSP required)

175 Ratings | 3.64 out of 5
Read in  |  Print |  PDF

Reader Comments | Submit a comment »


I have a DELL T3500 PC with a N.I. PCI- 8433/4 card and WinXP. I am changing to Win7 (32bit system). What drivers will I need to use with Win7 ?
- Tony Kolberg,. tony.kolberg@honeywell.com - Oct 16, 2012

missing project style drivers
Hi I'm missing info on the project style drivers available since lv 8.0. For me they fill the gap between IVI and old fashioned drivers. Completely implemented in LabVIEW (IVI is a black box) so debuggable and editable when needed. And a good structure, that can be reused for new drivers
- Albert Geven,Philips Electronics Ned BV (NL). albert.geven@gmail.com - Feb 25, 2008

Falta comentarios en Visual Basic
Normalmente, en los patios de llaves de alta tension, es necesario tener acceso desde otro patio ubicado a regular distancia en caso de fallas. HEMOS OPTADO por los Switch y un programa desarrollado por nuestros programadores, NO ES SKADA, por ellos necesitamos segementos de programacion, para obtener mejores resultados de su TARJETA.
- ruben macha orihuela,HIDRANDINA S.A.. r_macha_o@hotmail.com - Apr 02, 2003

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).