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 and modify than other instrument driver technologies.
A Plug and Play instrument driver is a set of functions used to control and communicate with a programmable instrument. Each function corresponds to a programmatic operation such as configuring, reading from, writing to, and triggering the instrument. Plug and Play instrument drivers comply with programming guidelines. Because Plug and Play drivers maintain a common architecture and interface and include application examples, you can quickly and easily connect to and communicate with your instruments with very little or no code development. Moreover, with the standard programming model of Plug and Play instrument drivers, you can easily add instruments to your test system without worrying about learning new communication protocols or spending time understanding new programming paradigms.
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.
In addition, Plug and Play instrument drivers that meet National Instruments requirements do not rely on constantly changing technology such as Microsoft technologies. Instead, these instrument drivers are long-term test solutions that have featured compatibility for more than 15 years. With Plug and Play instrument drivers, you can use an instrument driver from 1992 in your test application today instantly with little or no code modification.
National Instruments supports certified Plug and Play instrument drivers.
Plug and Play (project-style)
With the introduction of the LabVIEW 8 Project and the LabVIEW 8 Library, instrument driver developers now can organize functional VIs and example programs directly in the LabVIEW environment. Along with organizational benefits, the LabVIEW Library provides a unique namespace for the instrument driver that automatically adds the instrument driver name to the beginning of every functional VI name. With a unique name for each VI, you no longer need to worry about naming conflicts resulting in broken code. Finally, you also can use the Library to define VIs as either public and accessible to all users or private and usable only by the developer. With the ability to control which VIs are usable, you can maintain a consistent public VI interface while changing the underlying private VIs without fear of breaking the user’s code. Plug and Play (project-style) instrument drivers include all the long-established features of Plug and Play drivers.
National Instruments supports certified Plug and Play (project-style) instrument drivers.
You should continue to use Plug and Play instrument drivers in existing applications created with those drivers. For new projects, use Plug and Play (project-style) instrument drivers to take advantage of the latest LabVIEW features.