Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 and Quick-Control Function Generator are easy to use interfaces that let you communicate with scopes and function generators without dealing with the underlying driver. For requirements and examples, see Using Quick-Control Oscilloscope and Using Quick-Control Function Generator.

Functions

add Add entry to IVI configuration store object
clear Remove instrument objects from MATLAB workspace
commit Save IVI configuration store object to data file
devicereset Reset instrument
disp Display instrument object summary information
fgen Create Quick-Control Function Generator object
get Instrument object properties
getWaveform Returns waveform displayed on scope
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
iviconfigurationstore Create IVI configuration store object
oscilloscope Create Quick-Control Oscilloscope object
remove Remove entry from IVI configuration store object
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
update Update entry of IVI configuration store object
connect Connect device object to instrument
delete Remove instrument objects from memory
disconnect Disconnect device object from instrument
geterror Check and return error message from instrument
icdevice Create device object
inspect Open Property Inspector
invoke Execute driver-specific function on device object
isvalid Determine whether instrument objects are valid
makemid Convert driver to MATLAB instrument driver format
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
selftest Run instrument self-test
size Size of instrument object array
instrhelp Help for instrument object type, function, or property
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events

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.

Using Quick-Control Oscilloscope

You can use the Quick-Control Oscilloscope for any oscilloscope that uses an underlying IVI-C driver without having to directly deal with the underlying driver.

Using Quick-Control Function Generator

You can use the Quick-Control Function Generator for simplified fgen control and waveform generation without having to directly deal with the underlying driver.

Concepts

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

Troubleshooting IVI, VISA, and the Quick-Control Interfaces

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

Was this topic helpful?