|On this page…|
If a MATLAB® instrument driver does not exist for your instrument, it may be that a MATLAB instrument driver for an instrument similar to yours does exist. Rather than creating a new MATLAB instrument driver, you may choose to edit an existing MATLAB instrument driver. An existing MATLAB instrument driver can be opened in the MATLAB instrument driver editor with the midedit function.
Refer to Creating MATLAB Instrument Drivers for information on
Defining summary information
Defining initialization and cleanup code
Creating a new property
Creating a new function
Creating a new group
The MATLAB Instrument Driver Editor can import a VXIplug&play or IVI® driver. You can evaluate or set the driver's functions and properties, and the modified driver can be saved for further use:
The Import Driver dialog box appears, showing the installed VXIplug&play and IVI drivers.
The MATLAB Instrument Driver Editor creates a MATLAB instrument driver based on the properties and/or functions in the original VXIplug&play or IVI driver. The editor displays the new driver's summary information, groups, properties, and functions.
With the MATLAB Instrument Driver Editor, you can
Create, delete, modify, or rename properties, functions, or groups
Add code around instrument commands for analysis
Add create, connect, and disconnect code
Save the driver as a separate MATLAB VXIplug&play instrument driver or MATLAB IVI instrument driver