Main Content

Instrument Driver Communication

Communicate with instruments using instrument drivers

You need to create an interface object, for example gpib or i2c, to communicate with instruments, as described in many of the sections of the documentation. You can also create a device object that allows you to configure and query an instrument without knowledge of its command set. See Creating and Connecting Device Objects for more information about using device objects.


clearRemove instrument objects from MATLAB workspace
deleteRemove instrument objects from memory
dispDisplay instrument object summary information
getInstrument object properties
inspectOpen Property Inspector
lengthLength of instrument object array
loadLoad instrument objects and variables into MATLAB workspace
methodsClass method names and descriptions
saveSave instrument objects and variables to MAT-file
setConfigure or display instrument object properties
sizeSize of instrument object array
instrhwinfoInformation about available hardware
instridDefine and retrieve commands that identify instruments
isvalidDetermine whether instrument objects are valid
obj2mfileConvert instrument object to MATLAB code
propinfoInstrument object property information
connectConnect device object to instrument
deviceresetReset instrument
disconnectDisconnect device object from instrument
geterrorCheck and return error message from instrument
icdeviceCreate device object
invokeExecute driver-specific function on device object
selftestRun instrument self-test