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.


connect Connect device object to instrument
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
devicereset Reset instrument
disconnect Disconnect device object from instrument
disp Display instrument object summary information
get Instrument object properties
icdevice Create device object
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
methods Class method names and descriptions
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
geterror Check and return error message from instrument
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
makemid Convert driver to MATLAB instrument driver format
obj2mfile Convert instrument object to MATLAB code
selftest Run instrument self-test
size Size of instrument object array


Test and Measurement Tool Control oscilloscopes and other instruments
Was this topic helpful?