Instrument Control Toolbox |
 |
Toolbox Components
The Instrument Control Toolbox consists of two distinct components: M-file functions and interface driver adaptors. These components allow you to pass information between MATLAB and your instrument. For example, the following diagram shows how information passes from MATLAB to an instrument via the GPIB driver and the GPIB controller.

The preceding diagram illustrates how information flows from component to component. Information consists of
- You define the behavior of your instrument control application by configuring property values. In general, you can think of a property as a characteristic of the toolbox or of the instrument that can be configured to suit your needs.
- You can write data to the instrument and read data from the instrument. Data can be binary (numerical) or formatted as text. For example, writing text often involves writing string commands that change hardware settings, or prepare the instrument to return data or status information, while writing binary data involves writing numerical values such as calibration or waveform data.
- An event occurs after a condition is met and might result in one or more callbacks. Events can be generated only after you configure the associated properties. For example, you can use events to analyze data after a certain number of bytes are read from the instrument, or display a message to the MATLAB command line after an error occurs.
| Getting Started with the Instrument Control Toolbox | | M-File Functions |  |