Instrument Control Toolbox    

Writing and Reading Data

Communicating with your instrument involves writing and reading data. For example, you might write a text command to a function generator that queries its peak-to-peak voltage, and then read back the voltage value as a double-precision array.

Before performing a write or read operation, you should consider these three questions:

Note that there are other issues to consider when reading and writing data such as the conditions under which read or write operation completes. Because these issues vary among the supported interfaces, they are described in the respective interface-specific chapters.


  The Property Inspector Writing Data