Configure Device Connection
R2026bToolstrip Settings
The Resource, Model, and Serial # fields are already populated with data from the recognized device.
In the Driver list, select the driver for your device. MATLAB instrument driver definition (MDD) files in the list appear with
[MDD]appended to their name to distinguish them from vendor drivers. If your driver is not available in the list:To locate a
.mddfile on your system, click Browse Driver. You can obtain.mddfiles from instrument vendors or the MATLAB File Exchange. The selected driver is added to the MATLAB path and appears in the Driver list. The driver remains available across MATLAB sessions.Note
On macOS, only SCPI and Generic driver types are supported. IVI-C and VXIplug&play drivers are not available on this platform.
For more information on obtaining and installing instrument drivers, click Don't See Your Driver?
The Class-Compliant menu indicates:
true— The instrument connects and communicates using the IVI class-compliant driver.false— The instrument communicates using the driver.
You can change the Class-Compliant setting for some drivers. For more information on IVI class-compliant drivers, click Don't See Your Driver?
In the Optional Parameters section, set any parameter values where you do not want to use the default. For descriptions, see the Optional Parameters table below.
To start communicating with your instrument, click Confirm Parameters. If the connection is successful, your resource appears in the Device List.
You can return to the device selection view at any time by clicking Cancel.
Optional Parameters
Parameter | Description |
|---|---|
| Simulate | Run the instrument in simulation mode, without requiring hardware. You can specify additional parameters, such as a simulated instrument model, using the Driver Setup option. |
| Cache | The driver caches attribute values to offer better performance by reducing I/O traffic. |
| Interchange Check | The driver keeps track of each interchangeability warning it encounters. |
| Query Instrument Status | The driver checks the instrument error status after each operation. |
| Range Check | The driver validates parameter values that you pass into driver functions. |
| Record Coercions | The driver keeps a record of each value coercion. |
| ID Query | Query the instrument ID and check that it is valid for the driver. |
| Reset Device | Reset the instrument to a known state. |
| Timeout | Allowed time to find and connect to the instrument, specified in seconds. |
| Driver Setup | Specify additional settings defined by the vendor driver. Refer to the vendor driver documentation for more information. |
| Additional Option String | Specify instrument attribute values in the same format that you
pass into InitWithOptions. You can copy the
option string from your C code and use it here. |