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

clearRemove instrument objects from MATLAB workspace
connectConnect device object to instrument
deleteRemove instrument objects from memory
dispDisplay instrument object summary information
disconnectDisconnect device object from instrument
getInstrument object properties
inspectOpen Property Inspector
instrhelpHelp for instrument object type, function, or property
instrhwinfoInformation about available hardware
instrresetDisconnect and delete all instrument objects
invokeExecute driver-specific function on device object
makemidConvert driver to MATLAB instrument driver format
methodsClass method names and descriptions
mideditOpen graphical tool for creating and editing MATLAB instrument driver
propinfoInstrument object property information
saveSave instrument objects and variables to MAT-file
setConfigure or display instrument object properties
tmtoolOpen Test & Measurement Tool
deviceresetReset instrument
geterrorCheck and return error message from instrument
icdeviceCreate device object
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
isvalidDetermine whether instrument objects are valid
lengthLength of instrument object array
loadLoad instrument objects and variables into MATLAB workspace
obj2mfileConvert instrument object to MATLAB code
selftestRun instrument self-test
sizeSize 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?