Instrument Interchangeability

Minimal Code Changes

With IVI® class-compliant drivers, you can exchange instruments with minimal code changes. You can write your code for an instrument from one manufacturer and then swap it for the same type of instrument from another manufacturer. After editing the configuration file that identifies a new instrument, driver, and the hardware address, you can run your code without modifying it.

Effective Use of Interchangeability

To use the interchangeability of IVI effectively:

  • Install drivers for both instruments of the same type (IVI-C or IVI-COM).

  • Ensure that both drivers implement the same instrument class. For example, both must conform to the requirements for IviDmm or IviScope.

  • When using IVI-C your program needs a Class Driver that instantiates the Class Compliant Specific Driver and calls class-compliant functions in it.

  • Ensure that your program does not call instrument-specific functions.

You can enhance your code to handle the differences between the instruments or drivers you are using. You can still use these instruments interchangeably.

Examples of Interchangeability

The following diagram show interchangeability between instruments using IVI-COM and IVI-C drivers.

Using an IVI-COM Class Compliant Driver

Using an IVI-C Class Compliant Driver

Was this topic helpful?