Instrument Driver

Last updated

An instrument driver, in the context of test and measurement (T&M) application development, is a set of software routines that simplifies remote instrument control. Instrument drivers are specified by the IVI Foundation [1] and define an I/O abstraction layer using the virtual instrument software architecture (VISA). The VISA hardware abstraction layer provides an interface-independent communication channel to T&M instruments. Furthermore, the instrument drivers encapsulate the Standard Commands for Programmable Instruments (SCPI) commands, which are an ASCII-based set of commands for reading and writing instrument settings and measurement data. This standard allows an abstract way of using various programming languages to program remote-control applications instead of using SCPI commands. An instrument driver usually has a well-defined API.

Instrument control consists of connecting a desktop instrument to a computer and taking measurements.

In computing, input/output or I/O is the communication between an information processing system, such as a computer, and the outside world, possibly a human or another information processing system. Inputs are the signals or data received by the system and outputs are the signals or data sent from it. The term can also be used as part of an action; to "perform I/O" is to perform an input or output operation.

Virtual instrument software architecture, commonly known as VISA, is a widely used I/O API in the test and measurement (T&M) industry for communicating with instruments from a computer. VISA is an industry standard implemented by several T&M companies, such as, Anritsu, Bustec, Keysight Technologies, Kikusui, National Instruments, Rohde & Schwarz, and Tektronix.

Contents

Standards

VXIplug&play instrument driver

The VXIplug&play Systems Alliance was founded in 1993 [2] with the aim of unifying VXI hardware and software to achieve 'plug and play' interoperability for VXI and GPIB instruments. As part of the unifying process, VXIplug&play instrument drivers [3] were also defined.

IVI instrument drivers

When the IVI Foundation took over the Alliance in 2002, it defined a new generation of instrument drivers to replace the VXIplug&play standard. The IVI instrument driver specification intends to overcome the drawbacks of VXIplug&play. These IVI (Interchangeable Virtual Instrumentation) drivers [4] are currently defined in three different architectures:

  1. The IVI-COM driver architecture [5] is based on the Microsoft Component Object Model.
  2. The IVI-C drivers are based on C programming language shared components (shared libraries).
  3. The IVI.NET driver architecture was specified in 2010. [5] [6] The IVI.NET drivers are based on the .NET framework.

Remote control of instrumentation

Instrument drivers allow quicker development of remote-control applications for instrumentation. The drivers reduce the difficulty of string formatting when using SCPI commands by providing a well-defined API. The IVI and VXIplug&play Instrument Drivers use the VISA as the hardware abstraction layer so that hardware-independent applications can be developed.

I/O hardware abstraction layer VISA

The VISA library allows test and measurement equipment to be connected through various hardware interfaces. The following interfaces are available:

Serial port communication interface socket/plug

In computing, a serial port is a serial communication interface through which information transfers in or out one bit at a time. Throughout most of the history of personal computers, data was transferred through serial ports to devices such as modems, terminals, and various peripherals.

IEEE-488 communications protocol

IEEE 488 is a short-range digital communications 8-bit parallel multi-master interface bus specification. IEEE 488 was created as HP-IB and is commonly called GPIB. It has been the subject of several standards.

USB Industry standard

Universal Serial Bus (USB) is an industry standard that establishes specifications for cables and connectors and protocols for connection, communication and power supply between computers, peripheral devices and other computers. Released in 1996, the USB standard is currently maintained by the USB Implementers Forum (USB-IF). There have been four generations of USB specifications: USB 1.x, USB 2.0, USB 3.x and USB4.

LXI

The LAN eXtensions for Instrumentation (LXI) standard defines the communications protocols for controlling test and measurement systems using Ethernet. The standard requires vendors to offer IVI compliant instrument drivers.

See also

Related Research Articles

Data acquisition all methods of simultaneous or sequential time measurement and counting for measurable or quantifiable data and groups of contiguous data

Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated by a computer. Data acquisition systems, abbreviated by the acronyms DAS or DAQ, typically convert analog waveforms into digital values for processing. The components of data acquisition systems include:

Electronic test equipment equipment used to create signals and capture responses from electronic devices under test

Electronic test equipment is used to create signals and capture responses from electronic devices under test (DUTs). In this way, the proper operation of the DUT can be proven or faults in the device can be traced. Use of electronic test equipment is essential to any serious work on electronics systems.

LAN eXtensions for Instrumentation (LXI) is a standard developed by the LXI Consortium, a consortium that maintains the LXI specification and promotes the LXI Standard. The LXI standard defines the communication protocols for instrumentation and data acquisition systems using Ethernet. Ethernet is a ubiquitous communication standard providing a versatile interface, the LXI standard describes how to use the Ethernet standards for test and measurement applications in a way that promotes simple interoperability between instruments. The LXI Consortium ensures LXI compliant instrumentation developed by various vendors work together with no communication or setup issues. The LXI Consortium ensures that the LXI standard complements other test and measurement control systems, such as GPIB and PXI systems.

Frequency counter

A frequency counter is an electronic instrument, or component of one, that is used for measuring frequency. Frequency counters usually measure the number of cycles of oscillation, or pulses per second in a periodic electronic signal. Such an instrument is sometimes referred to as a cymometer, particularly one of Chinese manufacture.

The VXI bus architecture is an open standard platform for automated test based upon VMEbus. VXI stands for VME eXtensions for Instrumentation, defining additional bus lines for timing and triggering as well as mechanical requirements and standard protocols for configuration, message-based communication, multi-chassis extension, and other features. In 2004, the 2eVME extension was added to the VXI bus specification, giving it a maximum data rate of 160 MB/s.

Automatic test equipment apparatus used in Hardware testing

Automatic test equipment or automated test equipment (ATE) is any apparatus that performs tests on a device, known as the device under test (DUT), equipment under test (EUT) or unit under test (UUT), using automation to quickly perform measurements and evaluate the test results. An ATE can be a simple computer-controlled digital multimeter, or a complicated system containing dozens of complex test instruments capable of automatically testing and diagnosing faults in sophisticated electronic packaged parts or on wafer testing, including system on chips and integrated circuits.

Keysight VEE is a graphical dataflow programming software development environment from Keysight Technologies for automated test, measurement, data analysis and reporting. VEE originally stood for Visual Engineering Environment and developed by HP designated as HP VEE; it has since been officially renamed to Keysight VEE. Keysight VEE has been widely used in various industries, serving the entire stage of a product lifecycle, from design, validation to manufacturing. It is optimized in instrument control and automation with test and measurement devices such as data acquisition instruments like digital voltmeters and oscilloscopes, and source devices like signal generators and programmable power supplies.

PCI eXtensions for Instrumentation

PCI eXtensions for Instrumentation (PXI) is one of several modular electronic instrumentation platforms in current use. These platforms are used as a basis for building electronic test equipment, automation systems, and modular laboratory instruments. PXI is based on industry-standard computer buses and permits flexibility in building equipment. Often modules are fitted with custom software to manage the system.

Standard Commands for Programmable Instruments communications protocol

The Standard Commands for Programmable Instruments defines a standard for syntax and commands to use in controlling programmable test and measurement devices, such as automatic test equipment and electronic test equipment.

UniPro

UniPro is a high-speed interface technology for interconnecting integrated circuits in mobile and mobile-influenced electronics. The various versions of the UniPro protocol are created within the MIPI Alliance, an organization that defines specifications targeting mobile and mobile-influenced applications.

M-Modules are a mezzanine standard mainly used in industrial computers. Being mezzanines, they are always plugged on a carrier PCB that supports this format. The modules communicate with their carrier over a dedicated bus, and can have all kinds of special functions.

NI Measurement Studio is a set of test and measurement components built by National Instruments, that integrates into the Microsoft Visual Studio environment. It includes extensive support for accessing instrumentation hardware. It has drivers and abstraction layers for many different types of instruments and buses are included or are available for inclusion.

BNC 575 is electronic test equipment by Berkeley Nucleonics Corporation. It is the 2007/2008 version of a series of benchtop digital delay generator/pulse generator that began with the BNC 400 and BNC 500 in 2000. This version improves upon the earlier designs with better resolution (250ps), more channels and more functionality Channel-to-channel and external trigger jitter have both been significantly improved from earlier designs. The BNC 575 replaces the BNC 565 and BNC 555. New capabilities include int/ext clock for synchronizing and pulse picking, summing timing of several channels onto one, independent trigger and gate and selectable timing reference for each channel.

AdvancedTCA Extensions for Instrumentation and Test (AXIe) is a modular instrumentation standard created by Aeroflex, Agilent Technologies, and Test Evolution Corporation. (In October 2008, Aeroflex had purchased a 40% shareholding in Test Evolution.)

eXtensible Host Controller Interface (xHCI) is a computer interface specification that defines a register-level description of a host controller for Universal Serial Bus (USB), which is capable of interfacing with USB 1.x, 2.0, and 3.x compatible devices. The specification is also referred to as the USB 3.0 host controller specification.

Bustec is a company that designs and manufactures instrumentation for high-performance data acquisition and instrument control. The company's products serve applications that include engine testing, automotive and missile testing, wind tunnel data acquisition and control, acoustics, vibration applications, aircraft component testing and more. Headquarters is located in Shannon, Co. Clare, Ireland.

HiSLIP is a TCP/IP-based protocol for remote instrument control of LAN-based test and measurement instruments. It was specified by the IVI Foundation and is intended to replace the older VXI-11 protocol. Like VXI-11, HiSLIP is normally used via a library that implements the VISA API. Version 1.4 of the LAN eXtensions for Instrumentation (LXI) standard recommends HiSLIP as “LXI HiSLIP Extended Function for LXI based instrumentation”.

References

  1. "IVI Foundation Specifications". IVI Foundation.
  2. "VXIplug&play Alliance". IVI Foundation.
  3. "VPP-3.1: Instrument Drivers Architecture an Design Specification" (PDF). IVI Foundation.
  4. "IVI Driver Specifications". IVI Foundation.
  5. 1 2 "IVI-3.1: Driver Architecture Specification" (PDF). IVI Foundation.
  6. "IVI-3.18: IVI.NET Utility Classes and Interfaces Specification" (PDF). IVI Foundation.
  7. "VXI-11 Bus Specification". VXI Bus Consortium.
  8. "USB Test & Measurement Class Specification". USB Implementers Forum Inc. Archived from the original on 2010-03-26.
  9. "IVI-6.1: High-Speed LAN Instrument Protocol (HiSLIP)" (PDF). IVI Foundation.