Admin Production ni-theme
Current Publication

Instrument Driver Examples

LabWindows/CVI

Instrument Driver Examples

This section shows you how to create an IVI driver. The following examples are designed to serve as models for instrument driver development.

Examples 1 through 5 build on each other. Together, they illustrate all the steps to create a complete IVI driver. These examples use the Fluke 45 Digital Multimeter—a GPIB message-based device. For simplicity, these examples implement only a subset of the capabilities of the Fluke 45. The examples show how to create the following functions and attributes:

  • All the functions that IVI and VXIplug&play require
  • The FL45_Fetch function
  • The FL45_ConfigureHold function
  • The attributes for the measurement function, hold enable, and hold threshold

You do not always have to start with the procedure that Example 1 illustrates. In many cases, you can modify an existing driver for a similar instrument. Example 6 shows how to use the wizard to generate new instrument driver files from an existing driver.