Instrument Driver Communication
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
clear | Remove instrument objects from MATLAB workspace |
delete | Remove instrument objects from memory |
disp | Display instrument object summary information |
get | Instrument object properties |
inspect | Open Property Inspector |
length | Length of instrument object array |
load | Load instrument objects and variables into MATLAB workspace |
methods | Class method names and descriptions |
save | Save instrument objects and variables to MAT-file |
set | Configure or display instrument object properties |
size | Size of instrument object array |
instrhwinfo | Information about available hardware |
instrid | Define and retrieve commands that identify instruments |
isvalid | Determine whether instrument objects are valid |
obj2mfile | Convert instrument object to MATLAB code |
propinfo | Instrument object property information |
connect | Connect device object to instrument |
devicereset | Reset instrument |
disconnect | Disconnect device object from instrument |
geterror | Check and return error message from instrument |
icdevice | Create device object |
invoke | Execute driver-specific function on device object |
selftest | Run instrument self-test |
Topics
- 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.
- 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.