Instrument Driver Editing and Testing
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 Creating MATLAB Instrument Drivers for information about using the Instrument Driver Editor.
After you create a driver, you can test it using the Instrument Driver Testing Tool. The tool provides a graphical environment for creating a test to verify the functionality of a MATLAB instrument driver. You can verify property and function behavior and export the test results in a variety of formats. See Instrument Driver Testing Tool Overview.
|Remove instrument objects from MATLAB workspace|
|Connect device object to instrument|
|Remove instrument objects from memory|
|Disconnect device object from instrument|
|Display instrument object summary information|
|Instrument object properties|
|Open Property Inspector|
|Information about available hardware|
|Disconnect and delete all instrument objects|
|Execute driver-specific function on device object|
|Convert driver to MATLAB instrument driver format|
|Class method names and descriptions|
|Open graphical tool for creating and editing MATLAB instrument driver|
|Open graphical tool for testing MATLAB instrument driver|
|Instrument object property information|
|Save instrument objects and variables to MAT-file|
|Run instrument self-test|
|Configure or display instrument object properties|
|Test and Measurement Tool||Control oscilloscopes and other instruments|
Examples and How To
How to create, modify, save, and verify instrument drivers using the MATLAB Instrument Driver Editor.
Defining instrument functionality as properties of the device object to ease communications with your instrument.
Defining instrument functionality as functions of the device object to ease communications with your instrument.
Combining common capabilities of the device object.
Adapting existing drivers for your instrument.
Providing global information for your test, including name, description, driver, interface, and preferences.
Creating steps to test setting property values, getting property values, and driver functions.
Saving your test for future midtest sessions, or as code, or as a driver function.
Running a complete or partial test; exporting or saving test results.
An explanation of MATLAB® instrument drivers, their features, capabilities, and usage.
An explanation of the MATLAB Instrument Driver Testing Tool, its capabilities, and usage.
These properties are available in the toolbox.