When getting started, National Instruments recommends using an instrument driver. Instrument drivers save you development time and cost because you do not need to learn the programming protocol for each instrument. The two types of instrument drivers are described further in this document.
LabVIEW Plug and Play instrument drivers are sets of functions used to control and communicate with programmable instruments. Each VI corresponds to a programmatic operation, such as configuring, reading from, writing to, or triggering an instrument. Because LabVIEW Plug and Play drivers maintain a common architecture and interface, you can quickly connect to and communicate with an instrument with very little or no code development.
IVI drivers are DLL-based drivers developed in LabWindows/CVI that allow for simulation and instrument interchangeability. To achieve interchangeability, the IVI Foundation defines specifications for the following instrument classes: DMM, oscilloscope, arbitrary waveform/function generator, DC power supply, switch, power meter, spectrum analyzer, and RF signal generator. IVI drivers also provide additional benefits like instrument state caching for improved performance, multithread safety, and instrument attribute access.
The Instrument I/O Assistant is a high level Express VI that allows you to easily set up communication with serial, Ethernet, or GPIB instruments. Instrument I/O Assistant provides steps to guide you through configuring your instrument and then automatically generates the code from your configurations.
If an instrument driver doesn’t exist for your instrument but a similar driver exists, you can modify the existing driver to fit your application needs.
If an instrument driver doesn’t exist for your instrument and there aren’t any similar drivers, you can create an instrument driver from the Instrument Driver Project Wizard.
NI-VISA is the National Instruments standard I/O API for instrumentation programming. NI-VISA can control GPIB, serial, USB, Ethernet, PXI, or VXI instruments, making the appropriate driver calls based on the instrument type so you do not have to learn instrument-specific communication protocol.
Use NI-4882 to develop and debug an application program for GPIB instruments. The NI-488.2 driver has high-level commands that automatically handle all bus management. Low-level commands are also available.
For NI modular instruments, use the device drivers provided by National Instruments found in NI Driver Downloads.
If the Instrument Driver Network does not have the driver you need, you can submit an instrument driver request. These requests are monitored by the National Instruments Instrument Driver group and are developed based on popular demand.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.