文档介绍:Developing a LabVIEW Instrument Driver - Tutorial - Developer Zone - National I... Página 1 de 19
NI Home | MyNI | Site Help | My Profile | Contact NI
Developing a LabVIEW Instrument Driver
Back to Document
LabVIEW, the graphical programming language that pioneered the concept of virtual instrumentation, has been an
enabling technology in the hands of scientists and engineers for more than a decade. As LabVIEW has grown in
popularity, so has the proliferation of instrument drivers, the software modules designed to control programmable
instruments. To aid in the development of these drivers, National Instruments has created standards for instrument driver
structure, device management, instrument I/O, and error reporting. This document describes these standards, as well as
instrument ponents and the integration of ponents. In addition, this document suggests a process for
developing useful instrument drivers.
While these mendations are primarily intended for developers who intend to submit drivers to the National
Instruments LabVIEW Instrument Library, other users should find this information equally useful. This document presumes
that you understand basic GPIB, serial, and/or VXI concepts and are familiar with the operation of LabVIEW. You also
should be familiar munication with VISA.
Table of Contents:
l Instrument Driver Architecture
l LabVIEW Instrument Driver Development
l Details for Building Your Instrument Driver VIs
l Important Considerations
l Driver Support Libraries
l Conclusion
Instrument Driver Architecture
Modern GPIB and VXI instruments are characterized by increasingly larger numbers of functions and modes. With this
plexity, it is necessary to provide a consistent design model that aids both instrument driver developers as well
as end users who develop instrument control applications. To define a standard for instrument driver software design and
development, it is necessary