This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Connecting to the Instrument

Before you can use an instrument object to write or read data, you must connect it to the instrument. You connect an interface object to the instrument with the fopen function; you connect a device object to the instrument with the connect function.

You can examine the Status property to verify that the instrument object is connected to the instrument.

ans =

Some properties of the object are read-only while the object is connected and must be configured before connecting. Examples of interface object properties that are read-only when the object is connected include InputBufferSize and OutputBufferSize. You can determine when a property is configurable with the propinfo function or by referring to the properties documentation.