Skip to Main Content Skip to Search
Product Documentation

Toolbox Components

Passing Information Between the MATLAB Workspace and Your Instrument

Instrument Control Toolbox software consists of two distinct components: MATLAB functions and interface driver adaptors. These components allow you to pass information between the MATLAB workspace and your instrument. For example, the following diagram shows how information passes from the MATLAB software to an instrument via the GPIB driver and the GPIB controller.

This diagram illustrates how information flows from component to component. Information consists of

MATLAB Functions

To perform any task within your instrument control application, you must call MATLAB functions from the MATLAB workspace. Among other things, these functions allow you to:

For a listing of all Instrument Control Toolbox software functions, refer to Functions — Alphabetical List . You can also display the toolbox functions by typing

help instrument

Interface Driver Adaptor

The interface driver adaptor (or just adaptor) is the link between the toolbox and the interface driver. The adaptor's main purpose is to pass information between the MATLAB workspace and the interface driver. Interface drivers are provided by your instrument vendor. For example, if you are communicating with an instrument using a National Instruments GPIB controller, then an interface driver such as NI-488.2 must be installed on your platform. Note that interface drivers are not installed as part of the Instrument Control Toolbox software.

Instrument Control Toolbox software provides adaptors for the GPIB interface and the VISA standard. The serial port, TCP/IP, and UDP interfaces do not require an adaptor.

Interface

Adaptor Name

GPIB

advantech, agilent, cec, contec, ics, iotech, keithley, mcc, ni

Serial port

N/A

TCP/IP

N/A

UDP

N/A

VISA standard

agilent, ni, tek

As described in Examining Your Hardware Resources, you can list the supported interfaces and adaptor names with the instrhwinfo function. For a list of vendor driver requirements and limitations, refer to Vendor Driver Requirements and Limitations.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS