Main Content

IVI Driver

Communicate with instruments that use an IVI driver

To use instruments via the IVI interface, you need to install IVI drivers, VISA, and shared components. For information about these requirements, see Getting Started with IVI Drivers.

You can use the MATLAB IVI-C Wrappers provided with the Instrument Control Toolbox with IVI drivers of the same class. Supported IVI driver classes include IviScope, IviFgen, IviSwitch, IviRFSigGen, and many others. For information and examples, see Using IVI-C Class-Compliant Wrappers.

Quick-Control Oscilloscope, Function Generator, and RF Signal Generator are easy to use interfaces that let you communicate with scopes, function generators, and RF signal generators without dealing with the underlying driver. For requirements and examples, see Quick-Control Interfaces.


addAdd entry to IVI configuration store object
clearRemove instrument objects from MATLAB workspace
commitSave IVI configuration store object to data file
deviceresetReset instrument
dispDisplay instrument object summary information
fgenCreate Quick-Control Function Generator object
getInstrument object properties
getWaveformReturns waveform displayed on scope
instrhwinfoInformation about available hardware
instrresetDisconnect and delete all instrument objects
iviconfigurationstoreCreate IVI configuration store object
oscilloscopeCreate Quick-Control Oscilloscope object
removeRemove entry from IVI configuration store object
setConfigure or display instrument object properties
updateUpdate entry of IVI configuration store object
connectConnect device object to instrument
deleteRemove instrument objects from memory
disconnectDisconnect device object from instrument
geterrorCheck and return error message from instrument
icdeviceCreate device object
inspectOpen Property Inspector
invokeExecute driver-specific function on device object
isvalidDetermine whether instrument objects are valid
makemidConvert driver to MATLAB instrument driver format
lengthLength of instrument object array
loadLoad instrument objects and variables into MATLAB workspace
methodsClass method names and descriptions
obj2mfileConvert instrument object to MATLAB code
propinfoInstrument object property information
saveSave instrument objects and variables to MAT-file
selftestRun instrument self-test
sizeSize of instrument object array
instrhelpHelp for instrument object type, function, or property
instrcallbackDisplay event information when event occurs
instrfindRead instrument objects from memory to MATLAB workspace
instrfindallFind visible and hidden instrument objects
instridDefine and retrieve commands that identify instruments
instrnotifyDefine notification for instrument events


Test and Measurement ToolControl oscilloscopes and other instruments

Examples and How To

Getting Started with IVI Drivers

Examine your IVI driver installation. Create MATLAB® IVI instrument drivers. Create device objects for MATLAB IVI instrument drivers.

Using IVI-C Class-Compliant Wrappers

The IVI-C wrappers provide an interface to MATLAB for instruments running on IVI-C class-compliant drivers.


IVI Drivers Overview

Instrument Control Toolbox™ can communicate with instruments using Interchangeable Virtual Instrument (IVI) drivers. The toolbox supports IVI-C drivers, provided by various instrument manufacturers.

Instrument Interchangeability

With IVI® class-compliant drivers, you can exchange instruments with minimal code changes.

IVI Configuration Store

Examine and configure your IVI configuration store.

Instrument Control Toolbox Properties

These properties are available in the toolbox.


Troubleshooting IVI and Quick-Control Interfaces

Try these tips if you have problems using the toolbox with the IVI and Quick-Control interfaces. Includes information about supported platforms, adaptor requirements, configuration and connection, and other interface-specific tips.

Featured Examples