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 |
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
- 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.
- Generic Drivers: Overview
Introduces generic instrument drivers.
- Instrument Control Toolbox Properties
These properties are available in the toolbox.