Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

19

Instrument Drivers in LabVIEW

This chapter describes what instrument drivers are, how to install and use instrument drivers from the Instrument Driver Library.

Installing Instrument Drivers

This section describes where to locate and install LabVIEW instrument drivers.

Where Can I Get Instrument Drivers?

Instrument drivers can be installed from an instrument driver CD or downloaded from the National Instruments Web site. You can download drivers using the Instrument Driver Network, available at

zone.ni.com/idnet

If an instrument driver for your particular instrument does not exist, you can try the following:

Use a driver for a similar instrument. Often similar instruments from the same manufacturer have similar if not identical command sets.

Create a simple instrument driver.

Develop a complete, fully functional instrument driver. To develop a National Instruments quality driver, you can download Application Note 006, Developing a LabVIEW Instrument Driver, from our web site. This application note will help you to develop a complete instrument driver.

Where Should I Install My LabVIEW Instrument Driver?

Instrument drivers should be installed as a subdirectory of your labview\instr.lib. For example, the HP34401A instrument driver, included with LabVIEW, is installed in the labview\instr.lib\ hp34401a directory.

Within this directory you will find the menu files and VI libraries that make up an instrument driver. The menu files allow you to view your instrument driver VIs on the Functions palette. The VI libraries contain the instrument driver VIs.

© National Instruments Corporation

19-1

LabVIEW Measurements Manual

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]