Instrument Control Toolbox    
instrreset

Disconnect and delete all instrument objects

Syntax

Description

instrreset disconnects and deletes all instrument objects.

Remarks

If data is being written or read asynchronously, the asynchronous operation is stopped.

instrreset is equivalent to issuing the stopasync (if needed), fclose, and delete functions for all instrument objects.

When you delete an instrument object, it becomes invalid. Because you cannot connect an invalid object to the instrument, you should remove it from the workspace with the clear command.

See Also

Functions

clear, delete, fclose, isvalid, stopasync


  instrhwinfo instrschool