Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Apr 14, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

What is an Instrument Driver?

154 ratings | 3.69 out of 5
Print

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.

Plug and Play Instrument Drivers

Plug and Play instrument drivers, which simplify control of and communication with your instruments through a standard and straightforward programming model for all drivers, are easier to use 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 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 software.  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 IVI instrument driver that conforms to one of these classes 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 Spy 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
IVI Web Pages

154 ratings | 3.69 out of 5
Print

Reader Comments | Submit a comment »

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 2, 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/).