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.

Generic Instrument Drivers

Communicate with instruments by creating a generic driver

Generic drivers allow the Instrument Control Toolbox™ to communicate with devices or software that do not use industry-standard drivers or protocols. You create a generic driver using the Instrument Driver Editor. See Writing a Generic Driver.

Functions

clear Remove instrument objects from MATLAB workspace
connect Connect device object to instrument
delete Remove instrument objects from memory
disp Display instrument object summary information
disconnect Disconnect device object from instrument
get Instrument object properties
inspect Open Property Inspector
instrhelp Help for instrument object type, function, or property
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
invoke Execute driver-specific function on device object
makemid Convert driver to MATLAB instrument driver format
methods Class method names and descriptions
midedit Open graphical tool for creating and editing MATLAB instrument driver
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
devicereset Reset instrument
geterror Check and return error message from instrument
icdevice Create device object
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
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
obj2mfile Convert instrument object to MATLAB code
selftest Run instrument self-test
size Size of instrument object array

Examples and How To

Writing a Generic Driver

Illustrates how to write a generic instrument driver with the MATLAB® Instrument Driver Editor.

Using Generic Driver with Test & Measurement Tool

Illustrates how to use a generic driver with the Test & Measurement Tool GUI.

Using a Generic Driver at Command Line

Illustrates how to use a generic driver with MATLAB commands that work at the command line or in code.

Concepts

Generic Drivers: Overview

Introduces generic instrument drivers.

Instrument Control Toolbox Properties

These properties are available in the toolbox.

Was this topic helpful?