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.

Instrument Driver Communication

Instrument communication using instrument drivers

You need to create an interface object, for example gpib or i2c, to communicate with instruments, as described in many of the sections of the documentation. You can also create a device object that allows you to configure and query an instrument without knowledge of its command set. See Creating and Connecting Device Objects for more information about using device objects.

Functions

connectConnect device object to instrument
clearRemove instrument objects from MATLAB workspace
deleteRemove instrument objects from memory
deviceresetReset instrument
disconnectDisconnect device object from instrument
dispDisplay instrument object summary information
getInstrument object properties
icdeviceCreate device object
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
methodsClass method names and descriptions
propinfoInstrument object property information
saveSave instrument objects and variables to MAT-file
setConfigure or display instrument object properties
tmtoolOpen Test & Measurement Tool
geterrorCheck and return error message from instrument
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
makemidConvert driver to MATLAB instrument driver format
obj2mfileConvert instrument object to MATLAB code
selftestRun instrument self-test
sizeSize of instrument object array

Apps

Test and Measurement ToolControl oscilloscopes and other instruments

Examples and How To

Creating and Connecting Device Objects

Includes the general procedure for the creation and use of device objects.

Communicating with Instruments

Configuring and exchanging data through device objects.

Device Groups

Obtaining and using group device properties.

Concepts

Device Objects

Device objects allow you to configure and query an instrument without knowledge of its command set. The low-level communication is performed through a MATLAB® instrument driver.

Instrument Control Toolbox Properties

These properties are available in the toolbox.

Was this topic helpful?