Disconnect device object from instrument
A device object or an array of device objects.
the device object specified by
obj from the instrument.
Create a device object for a Tektronix® TDS 210 oscilloscope that is connected to a National Instruments® GPIB board.
g = gpib('ni',0,2); d = icdevice('tektronix_tds210',g);
Connect to the instrument.
Get the current configuration of the oscilloscope.
values = get(d);
Disconnect from the instrument and clean up.
disconnect(d) delete([d g])
obj is disconnected from the instrument,
Status property is configured to
You can reconnect to the instrument with the
connect function. If
an array of device objects and one of the objects cannot be disconnected
from the instrument, the remaining objects in the array will be disconnected
and a warning is displayed.